diff options
author | Vincent Guittot <[email protected]> | 2024-04-04 12:42:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-04-04 19:27:53 +0200 |
commit | 8130b05c559d1aa83d0c8971b422ba0da18ef24a (patch) | |
tree | f18a8a4b48202f7ff73ca7f2839361c4de5a48cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 39cd87c4eb2b893354f3b850f916353f2658ae6f (diff) |
PM: EM: fix wrong utilization estimation in em_cpu_energy()
Commit 1b600da51073 ("PM: EM: Optimize em_cpu_energy() and remove division")
has added back map_util_perf() in em_cpu_energy() computation which has
been removed with the rework of scheduler/cpufreq interface.
This is wrong because sugov_effective_cpu_perf() already takes care of
mapping the utilization to a performance level.
Fixes: 1b600da51073 ("PM: EM: Optimize em_cpu_energy() and remove division")
Signed-off-by: Vincent Guittot <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions