Home
last modified time | relevance | path

Searched refs:guess_idle_states (Results 1 – 2 of 2) sorted by relevance

/external/lisa/tests/lisa/
Dtest_energy_model.py242 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/
Denergy_model.py437 def guess_idle_states(self, cpus_active): member in EnergyModel
615 idle_states = self.guess_idle_states(cpu_utils)