MCPcopy Create free account
hub / github.com/culvertsoft/mgen / getTimeSeconds

Method getTimeSeconds

mgen-cpplib/src/test/cpp/src/OsTime.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 double getTimeSeconds() {
37 LARGE_INTEGER t;
38 QueryPerformanceCounter(&t);
39 return static_cast<double>(t.QuadPart - m_startTime.QuadPart) / m_frequency.QuadPart;
40 }
41
42private:
43 LARGE_INTEGER m_frequency;

Callers 1

getCurTimeSecondsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected