diff options
| author | Florian Fischer <[email protected]> | 2022-04-20 12:23:52 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-04-20 13:38:41 -0300 |
| commit | c735b0a5217620192a001323e1c2a4b4af5d3dea (patch) | |
| tree | 57e38e6ba931015bf1ad125b0d112ea37d4fd9ef /tools/perf/scripts/python | |
| parent | c60664dea70a76cdffb4c4c21b2a09153b41a950 (diff) | |
perf stat: Introduce stats for the user and system rusage times
This is preparation for exporting rusage values as tool events.
Add new global stats tracking the values obtained via rusage.
For now only ru_utime and ru_stime are part of the tracked stats.
Both are stored as nanoseconds to be consistent with 'duration_time',
although the finest resolution the struct timeval data in rusage
provides are microseconds.
Signed-off-by: Florian Fischer <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Xing Zhengjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions