android_kernel_xiaomi_sm8350/Documentation/perf_counter
Ingo Molnar be1ac0d81d perf_counter tools: Also display time-normalized stat results
Add new column that normalizes counter results by
'nanoseconds spent running' unit.

Before:

 Performance counter stats for '/home/mingo/hackbench':

   10469.403605  task clock ticks     (msecs)
          75502  context switches     (events)
           9501  CPU migrations       (events)
          36158  pagefaults           (events)
    31975676185  CPU cycles           (events)
    26257738659  instructions         (events)
      108740581  cache references     (events)
       54606088  cache misses         (events)

 Wall-clock time elapsed:   810.514504 msecs

After:

 Performance counter stats for '/home/mingo/hackbench':

   10469.403605  task clock ticks     (msecs)
          75502  context switches     #        0.007 M/sec
           9501  CPU migrations       #        0.001 M/sec
          36158  pagefaults           #        0.003 M/sec
    31975676185  CPU cycles           #     3054.202 M/sec
    26257738659  instructions         #     2508.045 M/sec
      108740581  cache references     #       10.387 M/sec
       54606088  cache misses         #        5.216 M/sec

 Wall-clock time elapsed:   810.514504 msecs

The advantage of that column is that it is characteristic of the
execution workflow, regardless of runtime. Hence 'hackbench 10'
will look similar to 'hackbench 15' - while the absolute counter
values are very different.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-05-29 09:46:45 +02:00
..
Documentation perf_counter tools: Document '--' option parsing terminator 2009-05-29 00:02:33 +02:00
util perf_counter tools: Optionally pass a symbol filter to the dso load routines 2009-05-28 23:25:44 +02:00
.gitignore perf_counter tools: add in basic glue from Git 2009-04-20 17:36:48 +02:00
builtin-help.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-record.c perf_counter tools: Document '--' option parsing terminator 2009-05-29 00:02:33 +02:00
builtin-report.c perf_counter tools: Optionally pass a symbol filter to the dso load routines 2009-05-28 23:25:44 +02:00
builtin-stat.c perf_counter tools: Also display time-normalized stat results 2009-05-29 09:46:45 +02:00
builtin-top.c perf_counter tools: Fix top symbol table max_ip typo 2009-05-29 09:03:57 +02:00
builtin.h perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
command-list.txt perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
Makefile perf_counter tools: Move symbol resolution classes from report to libperf 2009-05-28 23:25:42 +02:00
perf.c perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
perf.h perf_counter tools: increase limits, fix 2009-05-25 09:59:50 +02:00