perf_counter tools: cut down default count for cpu-cycles

In my system, it takes kerneltop dozens of minutes to
show up usable numbers. Make the default count 100 times
smaller fixed this long startup latency.

I'm not sure if it's the right solution though.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Wu Fengguang 2009-03-20 10:08:09 +08:00 committed by Ingo Molnar
parent 3ab8d792b1
commit dda7c02f33

View file

@ -132,7 +132,7 @@ struct source_line {
const unsigned int default_count[] = {
1000000,
10000,
1000000,
10000,
10000,