SDK Time API documentation

Version: stable

FUNCTION
dmTime::GetTime()

get current time in microseconds

dmTime::Sleep()

sleep thread with low precision (~10 milliseconds).

Functions

dmTime::GetTime()

dmTime::GetTime()

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

PARAMETERS

RETURNS

result

uint64_t Current time in microseconds


dmTime::Sleep()

dmTime::Sleep(useconds)

Sleep thread with low precision (~10 milliseconds).

PARAMETERS

useconds

Time to sleep in microseconds