diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-08-20 18:58:22 +0300 |
---|---|---|
committer | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2022-09-15 21:16:05 +0300 |
commit | 00bb07db5a42c91f4a74e836c6ae70fff20f7f8a (patch) | |
tree | f21af6d3a896afc6cf62c7354fb359cdaa46098b /tools/perf/scripts/python | |
parent | 56d6469291f8b1e1ab2f78e401c564163d3ee0f0 (diff) | |
download | linux-00bb07db5a42c91f4a74e836c6ae70fff20f7f8a.tar.xz |
tools/power/x86/intel-speed-select: Introduce is_cpu_in_power_domain helper
struct isst_id contains cpu, package and die info, and it can represent
a specific SST power domain.
Introduce is_cpu_in_power_domain() helper to identify if a cpu is in a
specified power_domain.
And cleanup the code to use the new helper.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions