diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-03-20 10:08:09 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 09:30:23 +0200 |
commit | dda7c02f33833bfa9412ba6f0e410b0a18b42c88 (patch) | |
tree | 0b4777dfc0c1b2c0791e8522d8441d90f2734b07 /Documentation | |
parent | 3ab8d792b1348eaabfe550ba60902d781d160dd4 (diff) | |
download | kernel_samsung_espresso10-dda7c02f33833bfa9412ba6f0e410b0a18b42c88.zip kernel_samsung_espresso10-dda7c02f33833bfa9412ba6f0e410b0a18b42c88.tar.gz kernel_samsung_espresso10-dda7c02f33833bfa9412ba6f0e410b0a18b42c88.tar.bz2 |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/perf_counter/kerneltop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/kerneltop.c b/Documentation/perf_counter/kerneltop.c index 7bfb0f0..0bd3c13 100644 --- a/Documentation/perf_counter/kerneltop.c +++ b/Documentation/perf_counter/kerneltop.c @@ -132,7 +132,7 @@ struct source_line { const unsigned int default_count[] = { - 1000000, + 10000, 1000000, 10000, 10000, |