Lines Matching refs:active_states
155 def __init__(self, active_states, idle_states, argument
165 if active_states:
167 freqs = active_states.keys()
174 power_vals = [s.power for s in active_states.values()]
192 self.active_states = active_states
198 return max(s.capacity for s in self.active_states.values())
207 def __init__(self, active_states=None, idle_states=None, argument
210 active_states, idle_states, cpu, children, name)
332 if not node.active_states or node.idle_states:
394 states = self.cpu_nodes[0].active_states
395 return any(c.active_states != states for c in self.cpu_nodes[1:])
406 group_states = self.cpu_nodes[group[0]].active_states
407 if node.active_states == group_states:
435 return self.cpu_nodes[cpu].active_states[freq].capacity
496 possible_freqs = [f for f, s in node.active_states.iteritems()
503 ideal_freqs[cpu] = max(node.active_states.keys())
547 if not node.active_states or not node.idle_states:
562 active_power = node.active_states[freq].power * active_time
620 cap = node.active_states[freqs[cpu]].capacity
844 active_states=read_active_states(cpu, 0),
853 active_states=read_active_states(core_group[0], 1),