summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJoshua Hahn <joshua.hahn6@gmail.com>2024-10-02 21:47:16 +0300
committerTejun Heo <tj@kernel.org>2024-10-08 21:50:48 +0300
commitaefa398d93d5db7c555be78a605ff015357f127d (patch)
treeaf9dba031b8661b1b5e5ea4df4a5d3bbc3594200 /tools/perf/scripts/python/task-analyzer.py
parent95a616d89ccd2d2af0bd26c13c50143b301d82e8 (diff)
downloadlinux-aefa398d93d5db7c555be78a605ff015357f127d.tar.xz
cgroup/rstat: Tracking cgroup-level niced CPU time
Cgroup-level CPU statistics currently include time spent on user/system processes, but do not include niced CPU time (despite already being tracked). This patch exposes niced CPU time to the userspace, allowing users to get a better understanding of their hardware limits and can facilitate more informed workload distribution. A new field 'ntime' is added to struct cgroup_base_stat as opposed to struct task_cputime to minimize footprint. Signed-off-by: Joshua Hahn <joshua.hahnjy@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions