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

Method start

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

Source from the content-addressed store, hash-verified

311 struct Timer
312 {
313 void start() { m_ticks = getCurrentTicks(); }
314 unsigned int getElapsedMicroseconds() const {
315 return static_cast<unsigned int>(getCurrentTicks() - m_ticks);
316 }

Callers 3

test_case_startMethod · 0.45
test_case_reenterMethod · 0.45
runMethod · 0.45

Calls 1

getCurrentTicksFunction · 0.85

Tested by

no test coverage detected