Lines Matching refs:usage0
81 _current_cpu->usage0 = usage_now(); /* Always update */ in z_sched_usage_start()
95 _current_cpu->usage0 = usage_now(); in z_sched_usage_start()
105 uint32_t u0 = cpu->usage0; in z_sched_usage_stop()
117 cpu->usage0 = 0; in z_sched_usage_stop()
133 uint32_t cycles = now - cpu->usage0; in z_sched_cpu_usage()
148 cpu->usage0 = now; in z_sched_cpu_usage()
185 uint32_t cycles = now - cpu->usage0; in z_sched_thread_usage()
200 cpu->usage0 = now; in z_sched_thread_usage()
264 uint32_t cycles = usage_now() - cpu->usage0; in k_thread_runtime_stats_disable()
336 if (cpu->usage0 != 0) { in k_sys_runtime_stats_disable()
337 sched_cpu_update_usage(cpu, now - cpu->usage0); in k_sys_runtime_stats_disable()
404 uint32_t cycles = now - _current_cpu->usage0; in z_thread_stats_reset()
408 _current_cpu->usage0 = now; in z_thread_stats_reset()