summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-top.txt
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2015-07-18 17:24:51 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-06 21:37:22 +0200
commitf8f4aaead579c947fb8fc051c9d242037025caf3 (patch)
tree0835c664d541fff8e462735336dbf3081b7f116c /tools/perf/Documentation/perf-top.txt
parentperf annotate: Compute IPC and basic block cycles (diff)
downloadlinux-f8f4aaead579c947fb8fc051c9d242037025caf3.tar.xz
linux-f8f4aaead579c947fb8fc051c9d242037025caf3.zip
perf annotate: Finally display IPC and cycle accounting
Add two new columns to the annotate display and display the average cycles and the compute IPC if available. When the LBR was not in any branch mode the IPC computation is automatically disabled. We still display the cycle information. Example output (with made up numbers): The second column is the IPC and third average cycles. │ __attribute__((noinline)) f2() │ { 5.15 0.07 │ push %rbp 0.01 0.07 │ mov %rsp,%rbp │ c = a / b; 9.87 0.07 │ mov a,%eax 0.07 │ mov b,%ecx 0.07 │ cltd 4.92 0.07 123│ idiv %ecx 70.79 0.07 │ mov %eax,__TMC_END__ │ } 9.25 0.07 │ pop %rbp 0.01 0.07 123│ ← retq v2: Fix display problems. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1437233094-12844-7-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-top.txt')
0 files changed, 0 insertions, 0 deletions