aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2020-12-14 21:04:11 +0100
committerRafael J. Wysocki <[email protected]>2020-12-15 19:24:18 +0100
commitca6827de4b67367e73fdf43d2ea0a0064423edfb (patch)
tree8c23054acc81aebb96ee8e21d0bb37658bd78f84 /tools/perf/scripts/python/exported-sql-viewer.py
parenta28b2bfc099c6b9caa6ef697660408e076a32019 (diff)
cpufreq: schedutil: Add util to struct sg_cpu
Instead of passing util and max between functions while computing the utilization and capacity, store the former in struct sg_cpu (along with the latter and bw_dl). This will allow the current utilization value to be compared with the one obtained previously (which is requisite for some code changes to follow this one), but also it causes the code to look slightly more consistent and cleaner. Signed-off-by: Rafael J. Wysocki <[email protected]> Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions