Clock library¶
Defines¶
CLOCK_SECOND¶
A second, measured in system clock time.
Types¶
clock_time_t¶
clock_interval_t¶
Functions¶
clock_time¶
Get the current clock time.
This function returns the current system clock time.
Return value¶
The current clock time, measured in system ticks.
clock_diff¶
Get the duration between two timestamps.
Return value¶
Number of milliseconds between two timestamps.
clock_seconds¶
Get the current value of the platform seconds.
This could be the number of seconds since startup, or since a standard epoch.
Return value¶
The value.