Searched refs:total_count (Results 1 – 1 of 1) sorted by relevance
25 static rt_uint32_t total_count = 0; variable33 if (total_count == 0) in cpu_usage_idle_hook()42 total_count ++; in cpu_usage_idle_hook()59 if (count < total_count) in cpu_usage_idle_hook()61 count = total_count - count; in cpu_usage_idle_hook()62 cpu_usage_major = (count * 100) / total_count; in cpu_usage_idle_hook()63 cpu_usage_minor = ((count * 100) % total_count) * 100 / total_count; in cpu_usage_idle_hook()67 total_count = count; in cpu_usage_idle_hook()
Completed in 6 milliseconds