Function k_thread_runtime_stats_get

Source
pub unsafe extern "C" fn k_thread_runtime_stats_get(
    thread: k_tid_t,
    stats: *mut k_thread_runtime_stats_t,
) -> c_int
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