#include "Define.h"
#include "Duration.h"
Go to the source code of this file.
◆ GetApplicationStartTime()
Definition at line 24 of file Timer.h.
25{
26 using namespace std::chrono;
27
28 static const steady_clock::time_point ApplicationStartTime = steady_clock::now();
29
30 return ApplicationStartTime;
31}
◆ getMSTime()
Definition at line 33 of file Timer.h.
34{
35 using namespace std::chrono;
36
38}
TimePoint GetApplicationStartTime()
◆ getMSTimeDiff() [1/2]
Definition at line 49 of file Timer.h.
50{
51 using namespace std::chrono;
52
55}
uint32 getMSTimeDiff(uint32 oldMSTime, uint32 newMSTime)
◆ getMSTimeDiff() [2/2]
Definition at line 40 of file Timer.h.
41{
42
43 if (oldMSTime > newMSTime)
44 return (0xFFFFFFFF - oldMSTime) + newMSTime;
45 else
46 return newMSTime - oldMSTime;
47}
◆ GetMSTimeDiffToNow()