-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 147367 b: refs/heads/master c: 1d8c8b2 h: refs/heads/master i: 147365: f0f54ab 147363: b98aa26 147359: 1434459 v: v3
- Loading branch information
Ingo Molnar
committed
Apr 20, 2009
1 parent
21d856a
commit a4cf699
Showing
5 changed files
with
144 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: ddcacfa0febff6454dba6cea1931f3020a9f6c24 | ||
refs/heads/master: 1d8c8b209e9351a7de1307d7b9b6df4222b8d742 |
76 changes: 76 additions & 0 deletions
76
trunk/Documentation/perf_counter/Documentation/perf-stat.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
perf-stat(1) | ||
========== | ||
|
||
NAME | ||
---- | ||
perf-stat - Run a command and gather performance counter statistics | ||
|
||
SYNOPSIS | ||
-------- | ||
[verse] | ||
'perf stat' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> | ||
|
||
DESCRIPTION | ||
----------- | ||
This command runs a command and gathers performance counter statistics | ||
from it. | ||
|
||
|
||
OPTIONS | ||
------- | ||
<command>...:: | ||
Any command you can specify in a shell. | ||
|
||
-e:: | ||
--event=:: | ||
0:0: cpu-cycles | ||
0:0: cycles | ||
0:1: instructions | ||
0:2: cache-references | ||
0:3: cache-misses | ||
0:4: branch-instructions | ||
0:4: branches | ||
0:5: branch-misses | ||
0:6: bus-cycles | ||
1:0: cpu-clock | ||
1:1: task-clock | ||
1:2: page-faults | ||
1:2: faults | ||
1:5: minor-faults | ||
1:6: major-faults | ||
1:3: context-switches | ||
1:3: cs | ||
1:4: cpu-migrations | ||
1:4: migrations | ||
rNNN: raw PMU events (eventsel+umask) | ||
|
||
-a:: | ||
system-wide collection | ||
|
||
-l:: | ||
scale counter values | ||
|
||
Configuration | ||
------------- | ||
|
||
EXAMPLES | ||
-------- | ||
|
||
$ perf stat sleep 1 | ||
|
||
Performance counter stats for 'sleep': | ||
|
||
0.678356 task clock ticks (msecs) | ||
7 context switches (events) | ||
4 CPU migrations (events) | ||
232 pagefaults (events) | ||
1810403 CPU cycles (events) | ||
946759 instructions (events) | ||
18952 cache references (events) | ||
4885 cache misses (events) | ||
|
||
Wall-clock time elapsed: 1001.252894 msecs | ||
|
||
SEE ALSO | ||
-------- | ||
linkperf:git-tops[1] |
61 changes: 61 additions & 0 deletions
61
trunk/Documentation/perf_counter/Documentation/perf-top.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
perf-top(1) | ||
========== | ||
|
||
NAME | ||
---- | ||
perf-top - Run a command and profile it | ||
|
||
SYNOPSIS | ||
-------- | ||
[verse] | ||
'perf top' [-e <EVENT> | --event=EVENT] [-l] [-a] <command> | ||
|
||
DESCRIPTION | ||
----------- | ||
This command runs a command and gathers a performance counter profile | ||
from it. | ||
|
||
|
||
OPTIONS | ||
------- | ||
<command>...:: | ||
Any command you can specify in a shell. | ||
|
||
-e:: | ||
--event=:: | ||
0:0: cpu-cycles | ||
0:0: cycles | ||
0:1: instructions | ||
0:2: cache-references | ||
0:3: cache-misses | ||
0:4: branch-instructions | ||
0:4: branches | ||
0:5: branch-misses | ||
0:6: bus-cycles | ||
1:0: cpu-clock | ||
1:1: task-clock | ||
1:2: page-faults | ||
1:2: faults | ||
1:5: minor-faults | ||
1:6: major-faults | ||
1:3: context-switches | ||
1:3: cs | ||
1:4: cpu-migrations | ||
1:4: migrations | ||
rNNN: raw PMU events (eventsel+umask) | ||
|
||
-a:: | ||
system-wide collection | ||
|
||
-l:: | ||
scale counter values | ||
|
||
Configuration | ||
------------- | ||
|
||
EXAMPLES | ||
-------- | ||
|
||
SEE ALSO | ||
-------- | ||
linkperf:git-stat[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters