commit | 11f8f6697fb5e19d94c1133a1aaf97ad6ea154cc | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@intel.com> | Tue Jan 18 10:17:14 2022 -0500 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jan 20 08:22:01 2022 -0500 |
tree | 7753ebb6f8ea253d36540d687e17a3f1b7f81baa | |
parent | 019a1e13f4ee96791cf3cd10753b66bb81b57f2d [diff] |
kernel: Update CPU runtime stats of non-idle time Updates sched_cpu_update_usage() such that the CPU runtime stats only update the its non-idle time when the current thread is not the idle thread. This is necessary as otherwise the CPUs idle-time will be double counted in k_thread_runtime_stats.execution_cycles. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>