summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2009-10-18 22:29:23 +1100
committerIngo Molnar <mingo@elte.hu>2009-10-19 09:20:21 +0200
commit11018201b831e19304c0d639f105ad6c27e120b1 (patch)
tree531051de316cdf54b8193d11fb843d7432419d2c /tools/perf/builtin-sched.c
parentf39cdf25bf77219676ec5360980ac40b1a7e144a (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 'tools/perf/builtin-sched.c')
0 files changed, 0 insertions, 0 deletions