diff options
author | Florian Fischer <florian.fischer@muhq.space> | 2022-04-20 12:23:52 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-04-20 13:38:41 -0300 |
commit | c735b0a5217620192a001323e1c2a4b4af5d3dea (patch) | |
tree | 57e38e6ba931015bf1ad125b0d112ea37d4fd9ef /tools/perf/util/parse-events.c | |
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 <florian.fischer@muhq.space>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20220420102354.468173-2-florian.fischer@muhq.space
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.c')
0 files changed, 0 insertions, 0 deletions