mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
perf stat: Document task-clock/cpu-clock in TIMINGS
task-clock/cpu-clock appear in perf stat's own example output but were never explained in perf-stat.txt, unlike time elapsed/user/sys. This came up unanswered on the list in 2013 and 2015 without docs ever being added. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Christian Melendez <chrismelnu@gmail.com> Link: https://lore.kernel.org/all/arWi_dY4y15J2rqh@google.com ] [ Removed the :u modifier from the task-clock example, per Namhyung request ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
dd0b7ec38d
commit
d6f751c7ad
|
|
@ -621,6 +621,16 @@ user/system lands:
|
|||
|
||||
Those times are the very same as displayed by the 'time' tool.
|
||||
|
||||
We also display a clock-based timing metric that depends on the
|
||||
target being monitored:
|
||||
|
||||
83723.452481 task-clock (msec) # 1.004 CPUs utilized
|
||||
|
||||
For a single task, task-clock reports a clock count specific to that
|
||||
task. When the target is a CPU or the whole system (-a or -C),
|
||||
cpu-clock is reported instead. cpu-clock is a high-resolution per-CPU
|
||||
timer. See perf_event_open(2) for more details.
|
||||
|
||||
CSV FORMAT
|
||||
----------
|
||||
|
||||
|
|
@ -671,4 +681,4 @@ that can be used for parsing.
|
|||
|
||||
SEE ALSO
|
||||
--------
|
||||
linkperf:perf-top[1], linkperf:perf-list[1]
|
||||
linkperf:perf-top[1], linkperf:perf-list[1], perf_event_open(2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user