diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-09-20 12:13:53 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-20 13:37:35 -0400 |
commit | a92fe7b3063db2caa578872fce975ff53aa56214 (patch) | |
tree | ff864f33e311daacb119e578f39e1fcac2275240 /tools/perf/util/svghelper.h | |
parent | 4f1202c8e61478984ed2d0df616149faf84c2a7f (diff) |
perf timechart: Show the duration of scheduler delays in the SVG
Given that scheduler latencies are the hot thing nowadays, show the
duration of said latencies in the SVG in text form.
In addition, if the latency is more than 10 msec, pick a brighter
yellow color as a way to point these long delays out.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090920181353.796f4509@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/svghelper.h')
-rw-r--r-- | tools/perf/util/svghelper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/svghelper.h b/tools/perf/util/svghelper.h index 8260a7e6e314..ed4ebcfaf493 100644 --- a/tools/perf/util/svghelper.h +++ b/tools/perf/util/svghelper.h | |||
@@ -5,7 +5,8 @@ | |||
5 | 5 | ||
6 | extern void open_svg(const char *filename, int cpus, int rows); | 6 | extern void open_svg(const char *filename, int cpus, int rows); |
7 | extern void svg_box(int Yslot, u64 start, u64 end, const char *type); | 7 | extern void svg_box(int Yslot, u64 start, u64 end, const char *type); |
8 | extern void svg_sample(int Yslot, int cpu, u64 start, u64 end, const char *type); | 8 | extern void svg_sample(int Yslot, int cpu, u64 start, u64 end); |
9 | extern void svg_waiting(int Yslot, u64 start, u64 end); | ||
9 | extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); | 10 | extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); |
10 | 11 | ||
11 | 12 | ||