1
0
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:
Vasilis Flouris 2015-05-06 17:02:48 +01:00
parent 09d0736d3b
commit f504fc8791

View File

@ -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