summaryrefslogtreecommitdiff
path: root/tools/perf/util
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2009-10-18 15:29:23 +0400
committerIngo Molnar <mingo@elte.hu>2009-10-19 11:20:21 +0400
commit11018201b831e19304c0d639f105ad6c27e120b1 (patch)
tree531051de316cdf54b8193d11fb843d7432419d2c /tools/perf/util
parentf39cdf25bf77219676ec5360980ac40b1a7e144a (diff)
downloadlinux-11018201b831e19304c0d639f105ad6c27e120b1.tar.xz
perf stat: Add branch performance metric
When we count both branches and branch-misses it is useful to print out the percentage of branch-misses: # perf stat -e branches -e branch-misses /bin/true Performance counter stats for '/bin/true': 401684 branches # 0.000 M/sec 23301 branch-misses # 5.801 % Signed-off-by: Anton Blanchard <anton@samba.org> Cc: paulus@samba.org Cc: a.p.zijlstra@chello.nl LKML-Reference: <20091018112923.GQ4808@kryten> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions