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

Function getEstimatedClockResolution

unittests/catch.hpp:10561–10564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10559 return sum/iterations;
10560 }
10561 auto getEstimatedClockResolution() -> uint64_t {
10562 static auto s_resolution = estimateClockResolution();
10563 return s_resolution;
10564 }
10565
10566 void Timer::start() {
10567 m_nanoseconds = getCurrentNanosecondsSinceEpoch();

Callers 1

getResolutionMethod · 0.85

Calls 1

estimateClockResolutionFunction · 0.85

Tested by

no test coverage detected