zephyr/include/kernel
Andy Ross f169c5bc13 kernel: Swap RUNTIME_STATS implementation
Clean up RUNTIME_STATS to separate the API from the individual data
backends.  Use the SCHED_THREAD_USAGE tracking instead of the original
for execution_cycles.  Move the kconfig for that into the runtime
stats menu, since it's part of the family now.

Also remove a lot of needless #if's around the declarations.  Unused
structs and uncalled functions don't need to be explicitly hidden.  An
attempt to access a non-existent field (e.g. "execution_cycles" if
that isn't configured) provides all the build time validation we need.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-11-08 21:32:20 -05:00
..
mempool_heap.h kernel: mempool_heap: fix header guard 2021-06-16 20:38:55 -04:00
sched_priq.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
thread.h kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
thread_stack.h kernel: macro to define pinned kernel thread stacks 2021-08-26 21:16:22 -04:00