MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetClockTimeNS

Function GetClockTimeNS

source/common/utility/i_time.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static uint64_t GetClockTimeNS()
68{
69 auto tp = GetTimePoint() - StartupTimeNS;
70 if (TimeScale == 1.0) return tp;
71 else return uint64_t(tp / 1000 * TimeScale * 1000);
72}
73
74static uint64_t MSToNS(unsigned int ms)
75{

Callers 3

I_SetFrameTimeFunction · 0.85
I_nsTimeFunction · 0.85
I_FreezeTimeFunction · 0.85

Calls 1

GetTimePointFunction · 0.85

Tested by

no test coverage detected