Implementation of the functions in clock.h for POSIX systems. More...
Macros | |
#define | NANOSECONDS_PER_MILLISECOND ( 1000000L ) |
Nanoseconds per millisecond. | |
#define | MILLISECONDS_PER_SECOND ( 1000L ) |
Milliseconds per second. | |
Functions | |
uint32_t | Clock_GetTimeMs (void) |
The timer query function. More... | |
void | Clock_SleepMs (uint32_t sleepTimeMs) |
Millisecond sleep function. More... | |
Implementation of the functions in clock.h for POSIX systems.
uint32_t Clock_GetTimeMs | ( | void | ) |
The timer query function.
This function returns the elapsed time.
void Clock_SleepMs | ( | uint32_t | sleepTimeMs | ) |
Millisecond sleep function.
[in] | sleepTimeMs | milliseconds to sleep. |