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

Function count_milliseconds

src/util/time.h:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 */
40constexpr int64_t count_seconds(std::chrono::seconds t) { return t.count(); }
41constexpr int64_t count_milliseconds(std::chrono::milliseconds t) { return t.count(); }
42constexpr int64_t count_microseconds(std::chrono::microseconds t) { return t.count(); }
43
44using SecondsDouble = std::chrono::duration<double, std::chrono::seconds::period>;

Callers 3

BlockTipChangedFunction · 0.85
WaitMethod · 0.85
MillisToTimevalFunction · 0.85

Calls 1

countMethod · 0.80

Tested by

no test coverage detected