MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / GetTime

Method GetTime

src/server/angelscript/angelscript/source/as_debug.h:127–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 double GetTime()
128 {
129 if( usePerformance )
130 {
131 __int64 ticks;
132 QueryPerformanceCounter((LARGE_INTEGER *)&ticks);
133
134 return double(ticks)/ticksPerSecond - timeOffset;
135 }
136
137 return double(timeGetTime())/1000.0 - timeOffset;
138 }
139
140 double Begin(const char *name)
141 {

Callers

nothing calls this directly

Calls 1

timeGetTimeFunction · 0.50

Tested by

no test coverage detected