Function openthread_sys::otInstanceGetUptime

source ยท
pub unsafe extern "C" fn otInstanceGetUptime(
    aInstance: *mut otInstance,
) -> u64
Expand description

Returns the current instance uptime (in msec).

Requires OPENTHREAD_CONFIG_UPTIME_ENABLE to be enabled.

The uptime is given as number of milliseconds since OpenThread instance was initialized.

@param[in] aInstance A pointer to an OpenThread instance.

@returns The uptime (number of milliseconds).