zephyr/kernel
Andy Ross 410f911018 kernel/sched: Separate idle from app thread stats in THREAD_USAGE
It turns out that we have a sample (though not a test) that really
does want to use "k_thread_runtime_stats_all_get()" to measure system
uptime.

Instead of breaking this needlessly, separate the accounting for idle
and non-idle threads.  The legacy API can report their sum, and the
more useful value is available via the kernel struct for future
analysis.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-11-08 21:32:20 -05:00
..
include kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
paging
atomic_c.c
banner.c
cache_handlers.c
CMakeLists.txt kernel: add support for event objects 2021-10-16 06:27:10 -04:00
compiler_stack_protect.c
condvar.c
device.c
errno.c
events.c kernel: add support for event objects 2021-10-16 06:27:10 -04:00
fatal.c
futex.c
idle.c pm: Better return type for pm_system_suspend 2021-11-06 10:21:53 -04:00
init.c
Kconfig kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c
mmu.c mmu: fix virt_region_alloc() unused region free when aligned 2021-10-13 06:24:56 -04:00
msg_q.c
mutex.c
pipes.c
poll.c
queue.c
sched.c kernel/sched: Separate idle from app thread stats in THREAD_USAGE 2021-11-08 21:32:20 -05:00
sem.c
smp.c
stack.c
system_work_q.c
thread.c kernel/sched: Separate idle from app thread stats in THREAD_USAGE 2021-11-08 21:32:20 -05:00
timeout.c
timer.c kernel: timer: Call user handler without spinlock 2021-11-08 11:05:49 -05:00
userspace_handler.c
userspace.c
version.c
work.c kernel: work_q: use flags_get() in work_delayable_busy_get_locked(). 2021-10-16 06:23:46 -04:00
xip.c