zephyr::raw

Function k_thread_runtime_stats_cpu_get

source
pub unsafe extern "C" fn k_thread_runtime_stats_cpu_get(
    cpu: i32,
    stats: *mut k_thread_runtime_stats,
) -> i32
Expand description

@brief Get the runtime statistics of all threads on specified cpu

@param cpu The cpu number @param stats Pointer to struct to copy statistics into. @return -EINVAL if null pointers, otherwise 0