Searched refs:idle_count (Results 1 – 2 of 2) sorted by relevance
227 idle_count_t idle_count; in cpu_usage_task_entry() local236 idle_count = idle_count_get(); in cpu_usage_task_entry()238 if (idle_count > g_idle_count_max) { in cpu_usage_task_entry()239 g_idle_count_max = idle_count; in cpu_usage_task_entry()242 if (idle_count < g_idle_count_max) { in cpu_usage_task_entry()244 g_cpu_usage = 10000 - (uint32_t)((idle_count * 10000) / g_idle_count_max); in cpu_usage_task_entry()
23 idle_count_t idle_count; in idle_count_get() local27 idle_count = g_idle_count[cpu_cur_get()]; in idle_count_get()31 return idle_count; in idle_count_get()
Completed in 3 milliseconds