MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / TimerCPU

Method TimerCPU

demo/d3d11/appD3D11Ctx.cpp:437–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435 LARGE_INTEGER count;
436 LARGE_INTEGER freq;
437 TimerCPU()
438 {
439 QueryPerformanceCounter(&count);
440 QueryPerformanceFrequency(&freq);
441 oldCount = count;
442 }
443 double getDeltaTime()
444 {
445 QueryPerformanceCounter(&count);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected