pub unsafe extern "C" fn k_thread_runtime_stats_get(
thread: *mut k_thread,
stats: *mut k_thread_runtime_stats,
) -> i32
Expand description
@brief Get the runtime statistics of a thread
@param thread ID of thread. @param stats Pointer to struct to copy statistics into. @return -EINVAL if null pointers, otherwise 0