pub unsafe extern "C" fn k_uptime_get() -> i64
Expand description
@brief Get system uptime.
This routine returns the elapsed time since the system booted, in milliseconds.
@note While this function returns time in milliseconds, it does not mean it has millisecond resolution. The actual resolution depends on @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option.
@return Current uptime in milliseconds.