MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / getElapsedMicroseconds

Method getElapsedMicroseconds

tests/framework/src/doctest.cpp:314–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 {
313 void start() { m_ticks = getCurrentTicks(); }
314 unsigned int getElapsedMicroseconds() const {
315 return static_cast<unsigned int>(getCurrentTicks() - m_ticks);
316 }
317 //unsigned int getElapsedMilliseconds() const {
318 // return static_cast<unsigned int>(getElapsedMicroseconds() / 1000);
319 //}

Callers

nothing calls this directly

Calls 1

getCurrentTicksFunction · 0.85

Tested by

no test coverage detected