mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
energy_model: only set "ui" runtime parameter for ChromeOS
energy_model instrument generates job specs during the run. One of the things it does is set "ui" runtime parameter to "off". This parameter only exists for ChromeOS devices. This commit ensure that the parameter is not set when running on any other device.
This commit is contained in:
parent
7904e6b562
commit
afeb726d53
@ -725,7 +725,8 @@ class EnergyModelInstrument(Instrument):
|
||||
if not self.no_hotplug:
|
||||
spec.runtime_parameters['{}_cores'.format(core)] = num_cpus
|
||||
spec.runtime_parameters['{}_frequency'.format(core)] = min_frequency
|
||||
spec.runtime_parameters['ui'] = 'off'
|
||||
if self.device.platform == 'chromeos':
|
||||
spec.runtime_parameters['ui'] = 'off'
|
||||
spec.cluster = cluster
|
||||
spec.num_cpus = num_cpus
|
||||
spec.id = '{}_idle_{}_{}'.format(cluster, state.id, num_cpus)
|
||||
|
Loading…
x
Reference in New Issue
Block a user