1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00

Merge pull request #417 from setrofim/master

Revert "cpustates: fix idle state assumption on freq transition"
This commit is contained in:
marcbonnici 2017-06-21 14:22:58 +01:00 committed by GitHub
commit 919a44baec

View File

@ -212,8 +212,6 @@ class PowerStateProcessor(object):
self.current_time = event.timestamp
if event.idle_state is None:
self.cpu_states[event.cpu_id].frequency = event.frequency
if self.cpu_states[event.cpu_id].idle_state is None:
self.cpu_states[event.cpu_id].idle_state = -1
else:
if event.idle_state == -1:
self._process_idle_exit(event)