perf_counter tools: cut down default count for cpu-cycles
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 20 Mar 2009 02:08:09 +0000 (10:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:23 +0000 (09:30 +0200)
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>
Documentation/perf_counter/kerneltop.c

index 7bfb0f0d8005bb83863c66be03ef090f5180ee0c..0bd3c13150b1f30b3147ebf58dd75e33cc3ba44e 100644 (file)
@@ -132,7 +132,7 @@ struct source_line {
 
 
 const unsigned int default_count[] = {
-       1000000,
+         10000,
        1000000,
          10000,
          10000,