zephyr::raw

Function k_thread_runtime_stats_enable

source
pub unsafe extern "C" fn k_thread_runtime_stats_enable(
    thread: *mut k_thread,
) -> i32
Expand description

@brief Enable gathering of runtime statistics for specified thread

This routine enables the gathering of runtime statistics for the specified thread.

@param thread ID of thread @return -EINVAL if invalid thread ID, otherwise 0