24 #include <OpenThreads/Thread> 32 if (milliseconds == 0)
34 OpenThreads::Thread::YieldCurrentThread();
38 OpenThreads::Thread::microSleep((milliseconds) * 1000);
void TR_UTIL_EXPORT AppSleep(unsigned int milliseconds)
Puts the current application thread to sleep for a given number of milliseconds.
Timer class is used for measuring elapsed time or time between two points.
static const Timer * Instance()
Creates and returns a global timer.
Timer()
Default constructor.
void SetStartTick()
Set the start tick.
Namespace that holds various utility classes for the engine.
unsigned long long TimeTicks
64bit Integer to hold the Timers time ticks.