diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-01-17 18:34:38 -0600 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-03-06 13:01:24 -0600 |
commit | 009d1c29a45194212e9310ccd91a19a673908a5c (patch) | |
tree | f9e97f2e2df90833ea0336211110c031ae03aeae /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a9b9b4c2a4cdd00428d14914e3c18be3856aba71 (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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions