#include <chrono>
Go to the source code of this file.
26 using namespace std::chrono;
28 static const system_clock::time_point ApplicationStartTime = system_clock::now();
30 return uint32(duration_cast<milliseconds>(system_clock::now() - ApplicationStartTime).count());
uint32_t uint32
Definition: g3dmath.h:168
36 if (oldMSTime > newMSTime)
37 return (0xFFFFFFFF - oldMSTime) + newMSTime;
39 return newMSTime - oldMSTime;
uint32 getMSTimeDiff(uint32 oldMSTime, uint32 newMSTime)
Definition: Timer.h:33
uint32 getMSTime()
Definition: Timer.h:24