Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Structure used to track internal statistics about both thread and CPU usage. More...
#include <stats.h>
Data Fields | |
uint64_t | total |
total usage in cycles | |
bool | track_usage |
true if gathering usage stats | |
Fields available when CONFIG_SCHED_THREAD_USAGE_ANALYSIS is selected. | |
uint64_t | current |
# of cycles in current usage window | |
uint64_t | longest |
# of cycles in longest usage window | |
uint32_t | num_windows |
# of usage windows | |
Structure used to track internal statistics about both thread and CPU usage.
uint64_t k_cycle_stats::current |
# of cycles in current usage window
uint64_t k_cycle_stats::longest |
# of cycles in longest usage window
uint32_t k_cycle_stats::num_windows |
# of usage windows
uint64_t k_cycle_stats::total |
total usage in cycles
bool k_cycle_stats::track_usage |
true if gathering usage stats