MCPcopy Create free account
hub / github.com/ElementsProject/elements / clockResolution

Function clockResolution

src/bench/nanobench.h:2052–2055  ·  view source on GitHub ↗

Calculates clock resolution once, and remembers the result

Source from the content-addressed store, hash-verified

2050
2051// Calculates clock resolution once, and remembers the result
2052Clock::duration clockResolution() noexcept {
2053 static Clock::duration sResolution = calcClockResolution(20);
2054 return sResolution;
2055}
2056
2057ANKERL_NANOBENCH(IGNORE_PADDED_PUSH)
2058struct IterationLogic::Impl {

Callers 2

generateConfigTagFunction · 0.85
ImplMethod · 0.85

Calls 1

calcClockResolutionFunction · 0.85

Tested by

no test coverage detected