diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-02-06 16:44:45 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-02-06 19:17:39 -0200 |
commit | 9dac6a29e0ce0cd9dec497baa123e216b00b525d (patch) | |
tree | 5f9ed93cbdfa8f8356fc0daea8fa2da07eeae7bd /drivers/infiniband/hw/nes/nes_verbs.h | |
parent | 5fde2523bddb71d96f12b6ee8d2a9a43cb99da96 (diff) | |
download | blackbird-obmc-linux-9dac6a29e0ce0cd9dec497baa123e216b00b525d.tar.gz blackbird-obmc-linux-9dac6a29e0ce0cd9dec497baa123e216b00b525d.zip |
perf stat: Align scaled output of cpu-clock
The output of cpu-clock event is controlled in nsec_printout(),
but its alignment was broken:
Performance counter stats for 'sleep 1':
6,038,774 instructions # 0.00 insns per cycle
180 faults # 0.007 K/sec [99.95%]
1,282,201 branches # 0.053 M/sec [99.84%]
24126.221811 cpu-clock [99.62%]
24121.689540 task-clock # 24.098 CPUs utilized [99.52%]
1.001001017 seconds time elapsed
This patch fixes this:
Performance counter stats for 'sleep 1':
13,540,843 instructions # 0.00 insns per cycle
180 faults # 0.007 K/sec [99.94%]
2,875,386 branches # 0.119 M/sec [99.82%]
24144.221137 cpu-clock [99.61%]
24133.515366 task-clock # 24.109 CPUs utilized [99.52%]
1.001020946 seconds time elapsed
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1328514285-26232-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_verbs.h')
0 files changed, 0 insertions, 0 deletions