diff options
author | Anton Blanchard <anton@samba.org> | 2009-10-18 22:29:23 +1100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-19 09:20:21 +0200 |
commit | 11018201b831e19304c0d639f105ad6c27e120b1 (patch) | |
tree | 531051de316cdf54b8193d11fb843d7432419d2c /samples | |
parent | f39cdf25bf77219676ec5360980ac40b1a7e144a (diff) |
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 'samples')
0 files changed, 0 insertions, 0 deletions