mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
energy_model: idle state fix
This commit is contained in:
parent
1b6b0907f9
commit
a80780b9ed
@ -475,7 +475,7 @@ class EnergyModelInstrument(Instrument):
|
||||
if not context.spec.label.startswith('idle_'):
|
||||
return
|
||||
for idle_state in self.get_device_idle_states(self.measured_cluster):
|
||||
if idle_state.id > context.spec.idle_state_index:
|
||||
if idle_state.index > context.spec.idle_state_index:
|
||||
idle_state.disable = 1
|
||||
else:
|
||||
idle_state.disable = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user