Browse Source

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>
Wu Fengguang 16 years ago
parent
commit
dda7c02f33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Documentation/perf_counter/kerneltop.c

+ 1 - 1
Documentation/perf_counter/kerneltop.c

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