Searched refs:idle_time (Results 1 – 6 of 6) sorted by relevance
19 idle_time_at_start, active_time_at_start = all_cpus.idle_time()26 idle_time_at_end, active_time_at_end = all_cpus.idle_time()72 def idle_time(self): member in cpus76 idle_time, active_time = cpu.idle_time()77 total_idle_time += idle_time97 def idle_time(self): member in cpuidle101 total_idle_time += state.idle_time()130 def idle_time(self): member in cpuidle_state
42 def run_once(self, idle_time=120): argument76 time.sleep(idle_time)86 time.sleep(idle_time)
76 dip->stats.idle_time += (now - dip->stats.last_dev_change); in update_idle_time()77 dip->all_stats.idle_time += in update_idle_time()110 p_util = (sp->idle_time <= dt) ? 100.0 * (1.0 - (sp->idle_time / dt)) : in __dump_stats()141 sp->tot_qusz = sp->idle_time = 0.0; in __dump_stats()
120 double last_qu_change, last_dev_change, tot_qusz, idle_time; member
41 idle_time = sum(diff_times[field] for field in PROC_STAT_CPU_IDLE_FIELDS)44 return float(total_time - idle_time) / total_time
109 idle_time int64