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

Function count_microseconds

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

Source from the content-addressed store, hash-verified

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>;
45

Callers 2

MaybeSendPingMethod · 0.85
formatPingTimeFunction · 0.85

Calls 1

countMethod · 0.80

Tested by

no test coverage detected