summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-12-09 21:52:41 +0300
committerMario Limonciello <mario.limonciello@amd.com>2024-12-11 19:44:53 +0300
commit68cb0e77b6439fea64c6907c563b7bd27f2ee57f (patch)
tree91bca2c71a4f1329cc18f1fc2daf05521cb9c152 /tools/perf/scripts/python/task-analyzer.py
parent474e7218e81e7932ed18f91969b72169005ff038 (diff)
downloadlinux-68cb0e77b6439fea64c6907c563b7bd27f2ee57f.tar.xz
cpufreq/amd-pstate: store all values in cpudata struct in khz
Storing values in the cpudata structure in different units leads to confusion and hardcoded conversions elsewhere. After ratios are calculated store everything in khz for any future use. Adjust all relevant consumers for this change as well. Suggested-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Link: https://lore.kernel.org/r/20241209185248.16301-9-mario.limonciello@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions