zephyr::raw

Function k_uptime_ticks

source
pub unsafe extern "C" fn k_uptime_ticks() -> i64
Expand description

@brief Get system uptime, in system ticks.

This routine returns the elapsed time since the system booted, in ticks (c.f. @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC}), which is the fundamental unit of resolution of kernel timekeeping.

@return Current uptime in ticks.