1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

Merge pull request #448 from setrofim/next

cpufreq: rename get_domain_cpus
This commit is contained in:
marcbonnici 2017-07-26 15:05:45 +01:00 committed by GitHub
commit 7f21cc6009
2 changed files with 2 additions and 2 deletions

View File

@ -622,7 +622,7 @@ class CpufreqRuntimeConfig(RuntimeConfig):
can still be populated.
'''
for cluster_cpu in resolve_unique_domain_cpus('all', self.target):
domain_cpus = self.target.cpufreq.get_domain_cpus(cluster_cpu)
domain_cpus = self.target.cpufreq.get_related_cpus(cluster_cpu)
for cpu in domain_cpus:
if cpu in self.target.list_online_cpus():
supported_cpu_freqs = self.target.cpufreq.list_frequencies(cpu)

View File

@ -668,7 +668,7 @@ def resolve_unique_domain_cpus(name, target):
domain_cpus = []
for cpu in cpus:
if cpu not in domain_cpus:
domain_cpus = target.cpufreq.get_domain_cpus(cpu)
domain_cpus = target.cpufreq.get_related_cpus(cpu)
if domain_cpus[0] not in unique_cpus:
unique_cpus.append(domain_cpus[0])
return unique_cpus