mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
A fix for spec2000 to align with device API changes
This commit is contained in:
parent
09d0736d3b
commit
f504fc8791
@ -315,7 +315,7 @@ class Spec2000(Workload):
|
|||||||
fastest_freq = 0
|
fastest_freq = 0
|
||||||
for cpu_type in cpu_types:
|
for cpu_type in cpu_types:
|
||||||
try:
|
try:
|
||||||
idx = self.device.get_core_cpu(cpu_type)
|
idx = self.device.get_core_online_cpu(cpu_type)
|
||||||
freq = self.device.get_cpu_max_frequency(idx)
|
freq = self.device.get_cpu_max_frequency(idx)
|
||||||
if freq > fastest_freq:
|
if freq > fastest_freq:
|
||||||
fastest_freq = freq
|
fastest_freq = freq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user