We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa21fc6 commit fa253d3Copy full SHA for fa253d3
src/util/time.h
@@ -55,6 +55,7 @@ constexpr int64_t count_seconds(std::chrono::seconds t) { return t.count(); }
55
constexpr int64_t count_milliseconds(std::chrono::milliseconds t) { return t.count(); }
56
constexpr int64_t count_microseconds(std::chrono::microseconds t) { return t.count(); }
57
58
+using HoursDouble = std::chrono::duration<double, std::chrono::hours::period>;
59
using SecondsDouble = std::chrono::duration<double, std::chrono::seconds::period>;
60
61
/**
0 commit comments