MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / getElapsedNanoseconds

Method getElapsedNanoseconds

tests/catch.hpp:12074–12076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12072 m_nanoseconds = getCurrentNanosecondsSinceEpoch();
12073 }
12074 auto Timer::getElapsedNanoseconds() const -> uint64_t {
12075 return getCurrentNanosecondsSinceEpoch() - m_nanoseconds;
12076 }
12077 auto Timer::getElapsedMicroseconds() const -> uint64_t {
12078 return getElapsedNanoseconds()/1000;
12079 }

Callers 1

needsMoreIterationsMethod · 0.80

Calls 1

Tested by

no test coverage detected