MCPcopy Create free account
hub / github.com/Forceflow/libmorton / Timer

Method Timer

test/timer.h:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 LARGE_INTEGER end_time = { 0 };
20
21 inline Timer() {
22 LARGE_INTEGER li;
23 QueryPerformanceFrequency(&li);
24 pc_frequency = static_cast<double>(li.QuadPart) / 1000.0;
25 }
26
27 inline void reset() {
28 elapsed_time_milliseconds = 0.0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected