mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
energy_model: only set "ui" parameter for ChomeOS
Fixed a bug, where "ui" runtime parameter was being set regardless of the underlying platforms for "freq" iterations, causing the to fail on non-ChomeOS devices.
This commit is contained in:
parent
d16d8bf62d
commit
7bf0e3c344
@ -745,6 +745,7 @@ class EnergyModelInstrument(Instrument):
|
||||
spec.runtime_parameters['{}_frequency'.format(core)] = freq
|
||||
if not self.no_hotplug:
|
||||
spec.runtime_parameters['{}_cores'.format(core)] = num_cpus
|
||||
if self.device.platform == 'chromeos':
|
||||
spec.runtime_parameters['ui'] = 'off'
|
||||
spec.id = '{}_{}_{}'.format(cluster, num_cpus, freq)
|
||||
spec.label = 'freq_{}_{}'.format(cluster, spec.label)
|
||||
|
Loading…
x
Reference in New Issue
Block a user