MCPcopy Create free account
hub / github.com/cinder/Cinder / GetMilliseconds

Method GetMilliseconds

blocks/Box2D/src/Box2D/Common/b2Timer.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52float32 b2Timer::GetMilliseconds() const
53{
54 LARGE_INTEGER largeInteger;
55 QueryPerformanceCounter(&largeInteger);
56 float64 count = float64(largeInteger.QuadPart);
57 float32 ms = float32(s_invFrequency * (count - m_start));
58 return ms;
59}
60
61#elif defined(__linux__) || defined (__APPLE__)
62

Callers 3

SolveMethod · 0.80
StepMethod · 0.80
SolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected