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

Method getElapsedMicroseconds

unittests/catch.hpp:10572–10574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10570 return getCurrentNanosecondsSinceEpoch() - m_nanoseconds;
10571 }
10572 auto Timer::getElapsedMicroseconds() const -> uint64_t {
10573 return getElapsedNanoseconds()/1000;
10574 }
10575 auto Timer::getElapsedMilliseconds() const -> unsigned int {
10576 return static_cast<unsigned int>(getElapsedMicroseconds()/1000);
10577 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected