Files
zephyr/kernel
Peter Mitsis 976e4087ec kernel: Fix gathering of runtime thread stats
The function k_thread_runtime_stats_all_get() now populates the
current_cycles field in the thread runtime stats structure.

Resets the number of cycles in the CPU's current usage window once
the idle thread is scheduled.

Fixes the average_cycles calcuation.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2022-05-13 10:19:53 -05:00
..
2022-03-18 13:24:08 -04:00
2022-05-09 09:26:20 +02:00
2022-05-09 09:26:20 +02:00
2022-05-09 09:26:20 +02:00
2022-05-09 09:26:20 +02:00