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

Method getElapsedNanoseconds

unittests/catch.hpp:10569–10571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10567 m_nanoseconds = getCurrentNanosecondsSinceEpoch();
10568 }
10569 auto Timer::getElapsedNanoseconds() const -> uint64_t {
10570 return getCurrentNanosecondsSinceEpoch() - m_nanoseconds;
10571 }
10572 auto Timer::getElapsedMicroseconds() const -> uint64_t {
10573 return getElapsedNanoseconds()/1000;
10574 }

Callers 1

needsMoreIterationsMethod · 0.80

Calls 1

Tested by

no test coverage detected