MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / dTimerTicksPerSecond

Function dTimerTicksPerSecond

3rd_party/Src/ode/ode/src/timer.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74
75double dTimerTicksPerSecond()
76{
77 static int query=0;
78 static double hz=0.0;
79 if (!query) {
80 LARGE_INTEGER a;
81 QueryPerformanceFrequency (&a);
82 hz = double(a.QuadPart);
83 query = 1;
84 }
85 return hz;
86}
87
88#endif
89

Callers 3

dTimerResolutionFunction · 0.85
dStopwatchTimeFunction · 0.85
dTimerReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected