Searched refs:guess_idle_states (Results 1 – 2 of 2) sorted by relevance
/external/lisa/tests/lisa/ |
D | test_energy_model.py | 242 self.assertEqual(em.guess_idle_states([0] * 4), ['cluster-sleep-0'] * 4) 245 states = em.guess_idle_states([0, 0, 0, 1]) 249 states = em.guess_idle_states([0, 1, 0, 0]) 254 states = em.guess_idle_states([1, 1, 1, 1]) 258 states = em.guess_idle_states([0, 1, 0, 1])
|
/external/lisa/libs/utils/ |
D | energy_model.py | 437 def guess_idle_states(self, cpus_active): member in EnergyModel 615 idle_states = self.guess_idle_states(cpu_utils)
|