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

Method getElapsedMilliseconds

unittests/catch.hpp:10575–10577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10573 return getElapsedNanoseconds()/1000;
10574 }
10575 auto Timer::getElapsedMilliseconds() const -> unsigned int {
10576 return static_cast<unsigned int>(getElapsedMicroseconds()/1000);
10577 }
10578 auto Timer::getElapsedSeconds() const -> double {
10579 return getElapsedMicroseconds()/1000000.0;
10580 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected