summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorShrikanth Hegde <sshegde@linux.vnet.ibm.com>2024-01-01 18:46:23 +0300
committerIngo Molnar <mingo@kernel.org>2024-02-28 17:11:14 +0300
commit8b936fc1d84f7d70009ea34d66bbf6c54c09fae7 (patch)
tree80a68a084a309e19fdfa7192912732af786a69b8 /tools/perf/scripts/python/gecko.py
parent8cec3dd9e5930c82c6bd0af3fdb3a36bcd428310 (diff)
downloadlinux-8b936fc1d84f7d70009ea34d66bbf6c54c09fae7.tar.xz
sched/fair: Use existing helper functions to access ->avg_rt and ->avg_dl
There are helper functions called cpu_util_dl() and cpu_util_rt() which give the average utilization of DL and RT respectively. But there are a few places in code where access to these variables is open-coded. Instead use the helper function so that code becomes simpler and easier to maintain later on. No functional changes intended. Signed-off-by: Shrikanth Hegde <sshegde@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lore.kernel.org/r/20240101154624.100981-2-sshegde@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions