Function in stdx_time.h

x_time_now

Get the current wall-clock time.

XTime x_time_now(void);

Returns

Current time since the Unix epoch.

Function in stdx_time.h

x_time_sleep

Sleep the current thread for the specified duration.

void x_time_sleep(XTime t);

Parameters

XTime t
Duration to sleep.