summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-01-17 18:34:38 -0600
committerMario Limonciello <mario.limonciello@amd.com>2025-03-06 13:01:24 -0600
commit009d1c29a45194212e9310ccd91a19a673908a5c (patch)
treef9e97f2e2df90833ea0336211110c031ae03aeae /tools/perf/scripts/python
parenta9b9b4c2a4cdd00428d14914e3c18be3856aba71 (diff)
cpufreq/amd-pstate: Move perf values into a union
By storing perf values in a union all the writes and reads can be done atomically, removing the need for some concurrency protections. While making this change, also drop the cached frequency values, using inline helpers to calculate them on demand from perf value. Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions