zephyr::raw

Function k_uptime_delta

source
pub unsafe extern "C" fn k_uptime_delta(reftime: *mut i64) -> i64
Expand description

@brief Get elapsed time.

This routine computes the elapsed time between the current system uptime and an earlier reference time, in milliseconds.

@param reftime Pointer to a reference time, which is updated to the current uptime upon return.

@return Elapsed time.