mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +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
|
||||
for cpu_type in cpu_types:
|
||||
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)
|
||||
if freq > fastest_freq:
|
||||
fastest_freq = freq
|
||||
|
Loading…
x
Reference in New Issue
Block a user