diff options
author | David Ahern <[email protected]> | 2013-09-28 14:28:00 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-11 12:17:46 -0300 |
commit | 4bbe5a61f29b13437a6a16467328d3bae8fce9e7 (patch) | |
tree | 589b29933b7e9ed9831d3845ac2029a73072e658 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ac3063bd4725689f39d7a23fdfca2e034c73dcac (diff) |
perf stat: Add units to nanosec-based counters
Ingo pointed out that the task-clock counter should have the units
explicitly stated since it is not a counter.
Before:
perf stat -a -- sleep 1
Performance counter stats for 'sleep 1':
16186.874834 task-clock # 16.154 CPUs utilized
...
After:
perf stat -a -- sleep 1
Performance counter stats for 'system wide':
16146.402138 task-clock (msec) # 16.125 CPUs utilized
...
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions