Sdk time api documentation

Time functions.

Namespace: dmTime
Include: #include <dmsdk/dlib/time.h>
FUNCTIONS
uint64_t dmTime::GetTime() get current time in microseconds
void dmTime::Sleep( useconds) sleep thread with low precision (~10 milliseconds).

Functions

dmTime::GetTime

uint64_t dmTime::GetTime()

Get current time in microseconds since Jan. 1, 1970.

PARAMETERS

RETURNS

uint64_t Current time in microseconds

dmTime::Sleep

void dmTime::Sleep( useconds)

Sleep thread with low precision (~10 milliseconds).

PARAMETERS

useconds Time to sleep in microseconds