MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / EndDebugTimer

Function EndDebugTimer

TombEngine/Game/debug/debug.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 void EndDebugTimer()
132 {
133 auto endTime = std::chrono::high_resolution_clock::now();
134 auto duration = std::chrono::duration_cast<std::chrono::microseconds>(endTime - startTime);
135
136 PrintDebugMessage("Execution (microseconds): %d", duration);
137 }
138
139 void PrintDebugMessage(LPCSTR msg, ...)
140 {

Callers

nothing calls this directly

Calls 1

PrintDebugMessageFunction · 0.85

Tested by

no test coverage detected