MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / start

Method start

extern/Catch2/catch.hpp:14984–14986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14982 }
14983
14984 void Timer::start() {
14985 m_nanoseconds = getCurrentNanosecondsSinceEpoch();
14986 }
14987 auto Timer::getElapsedNanoseconds() const -> uint64_t {
14988 return getCurrentNanosecondsSinceEpoch() - m_nanoseconds;
14989 }

Callers 6

measureMethod · 0.45
runCurrentTestMethod · 0.45
catch.hppFile · 0.45
SectionMethod · 0.45
testGroupStartingMethod · 0.45
testCaseStartingMethod · 0.45

Calls 1

Tested by

no test coverage detected