aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/perf_counter/Documentation/perf-stat.txt30
1 files changed, 19 insertions, 11 deletions
diff --git a/Documentation/perf_counter/Documentation/perf-stat.txt b/Documentation/perf_counter/Documentation/perf-stat.txt
index a67d0e3b7d0d..a340e7be83dd 100644
--- a/Documentation/perf_counter/Documentation/perf-stat.txt
+++ b/Documentation/perf_counter/Documentation/perf-stat.txt
@@ -22,6 +22,7 @@ OPTIONS
22<command>...:: 22<command>...::
23 Any command you can specify in a shell. 23 Any command you can specify in a shell.
24 24
25
25-e:: 26-e::
26--event=:: 27--event=::
27 0:0: cpu-cycles 28 0:0: cpu-cycles
@@ -45,6 +46,13 @@ OPTIONS
45 1:4: migrations 46 1:4: migrations
46 rNNN: raw PMU events (eventsel+umask) 47 rNNN: raw PMU events (eventsel+umask)
47 48
49-i::
50--inherit::
51 child tasks inherit counters
52-p::
53--pid=<pid>::
54 stat events on existing pid
55
48-a:: 56-a::
49 system-wide collection 57 system-wide collection
50 58
@@ -54,20 +62,20 @@ OPTIONS
54EXAMPLES 62EXAMPLES
55-------- 63--------
56 64
57$ perf stat sleep 1 65$ perf stat -- make -j
58 66
59 Performance counter stats for 'sleep': 67 Performance counter stats for 'make -j':
60 68
61 0.678356 task clock ticks (msecs) 69 8117.370256 task clock ticks # 11.281 CPU utilization factor
62 7 context switches (events) 70 678 context switches # 0.000 M/sec
63 4 CPU migrations (events) 71 133 CPU migrations # 0.000 M/sec
64 232 pagefaults (events) 72 235724 pagefaults # 0.029 M/sec
65 1810403 CPU cycles (events) 73 24821162526 CPU cycles # 3057.784 M/sec
66 946759 instructions (events) 74 18687303457 instructions # 2302.138 M/sec
67 18952 cache references (events) 75 172158895 cache references # 21.209 M/sec
68 4885 cache misses (events) 76 27075259 cache misses # 3.335 M/sec
69 77
70 Wall-clock time elapsed: 1001.252894 msecs 78 Wall-clock time elapsed: 719.554352 msecs
71 79
72SEE ALSO 80SEE ALSO
73-------- 81--------