zephyr::raw

Function k_obj_core_stats_disable

source
pub unsafe extern "C" fn k_obj_core_stats_disable(
    obj_core: *mut k_obj_core,
) -> i32
Expand description

@brief Stop gathering the stats associated with the kernel object

This function temporarily stops the gathering of statistics associated with the kernel object core specified by @a obj_core. The gathering of statistics can be resumed by invoking :c:func :k_obj_core_stats_enable.

@param obj_core Pointer to kernel object core

@retval 0 on success @retval -errno on failure