perf stat: Print out instructins/cycle metric
authorIngo Molnar <mingo@elte.hu>
Sun, 7 Jun 2009 16:14:46 +0000 (18:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 7 Jun 2009 16:14:46 +0000 (18:14 +0200)
commite779898aa74cd2e97216368b3f3689ceffe8aeed
tree5bbb4365fbc4a5c1063444740284ff9e540ada8a
parenta14832ff977e78d1982cdf78cdabb1f2320d9ac8
perf stat: Print out instructins/cycle metric

Before:

     7549326754  cycles               #    3201.811 M/sec
    10007594937  instructions         #    4244.408 M/sec

After:

     7542051194  cycles               #    3201.996 M/sec
    10007743852  instructions         #    4248.811 M/sec # 1.327 per cycle

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-stat.c