28@@ -29,6 +29,8 @@ using SteadySeconds = std::chrono::time_point<std::chrono::steady_clock, std::ch
29 using SteadyMilliseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::milliseconds>;
30 using SteadyMicroseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::microseconds>;
31
32+using SystemClock = std::chrono::system_clock;
nit: as we only use this in one single place (logging.cpp) it almost seems to make more sense just to drop this and directly use std::chrono::system_clock
there? Although having SteadyClock
and SystemClock
as the two options perhaps prefereable.
If this is used in more places in the future, it seems convenient to have NodeClock
, SteadyClock
, and SystemClock
in the same header?