Function k_thread_runtime_stats_cpu_get

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