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

Function d

src/bench/nanobench.h:1311–1313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309// helpers to get double values
1310template <typename T>
1311inline double d(T t) noexcept {
1312 return static_cast<double>(t);
1313}
1314inline double d(Clock::duration duration) noexcept {
1315 return std::chrono::duration_cast<std::chrono::duration<double>>(duration).count();
1316}

Callers 4

generateConfigTagFunction · 0.85
calcBestNumItersMethod · 0.85
addMethod · 0.85
averageMethod · 0.85

Calls 1

countMethod · 0.80

Tested by

no test coverage detected