mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 18:18:41 +00:00
fixes a minor bug in energy model instrument
This commit is contained in:
parent
67896dfd86
commit
b31a9bd61a
@ -649,7 +649,7 @@ class EnergyModelInstrument(Instrument):
|
||||
spec.workload.validate()
|
||||
new_specs.append(spec)
|
||||
for old_spec in old_specs:
|
||||
if old_spec.workload_name in ['sysbench', 'dhrystone']:
|
||||
if old_spec.workload_name not in ['sysbench', 'dhrystone']:
|
||||
raise ConfigError('Only sysbench and dhrystone workloads currently supported for energy_model generation.')
|
||||
for freq in cluster_frequencies:
|
||||
for num_cpus in xrange(1, self.number_of_cpus[cluster] + 1):
|
||||
|
Loading…
x
Reference in New Issue
Block a user