Search
lxdream.org :: lxdream/src/xlat/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/xlat/xltcache.h
changeset 1182:b38a327ad8fa
prev1149:da6124fceec6
next1186:2dc47c67bb93
author nkeynes
date Sun Nov 27 18:20:21 2011 +1000 (11 years ago)
permissions -rw-r--r--
last change Add block profiling option to count the number of executions of each block,
and dump them out from most-to-least used.
file annotate diff log raw
1.1 --- a/src/xlat/xltcache.h Wed Nov 10 08:37:42 2010 +1000
1.2 +++ b/src/xlat/xltcache.h Sun Nov 27 18:20:21 2011 +1000
1.3 @@ -181,4 +181,11 @@
1.4 */
1.5 void xlat_check_integrity();
1.6
1.7 +/**
1.8 + * Dump out the top N translated blocks by number of executions (requires block
1.9 + * profiling to be turned on in order to give meaningful results).
1.10 + * @param topN Number of blocks to print. If 0, print all blocks in the cache
1.11 + */
1.12 +void xlat_dump_cache_by_activity( unsigned int topN );
1.13 +
1.14 #endif /* lxdream_xltcache_H */
.