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

Method start

unittests/catch.hpp:10566–10568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10564 }
10565
10566 void Timer::start() {
10567 m_nanoseconds = getCurrentNanosecondsSinceEpoch();
10568 }
10569 auto Timer::getElapsedNanoseconds() const -> uint64_t {
10570 return getCurrentNanosecondsSinceEpoch() - m_nanoseconds;
10571 }

Callers 11

interactiveFunction · 0.80
interactiveFunction · 0.80
interactiveFunction · 0.80
BenchmarkLooperMethod · 0.80
runCurrentTestMethod · 0.80
SectionMethod · 0.80
testGroupStartingMethod · 0.80
testCaseStartingMethod · 0.80
debug_printMethod · 0.80
startposMethod · 0.80
format_locationMethod · 0.80

Calls 1

Tested by

no test coverage detected