Marco Costalba
61f41a057d
Add simple debug hit rate counter
...
Add a very simple debug framework to
measure the hit rate of a given condition.
Simply insert macro
dbg_hit_on(x);
Anywhere you want to compute hit rate of condition x
and then call, as example in poll(), function
dbg_print_hit_rate() to print current results.
Signed-off-by: Marco Costalba <mcostalba@gmail.com >
2008-09-06 12:22:10 +02:00
..
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-06 12:22:10 +02:00
2008-09-06 12:22:10 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-06 06:37:00 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-06 12:21:08 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 14:05:02 +02:00
2008-09-01 07:59:13 +02:00
2008-09-03 23:29:04 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00
2008-09-01 07:59:13 +02:00