util: add SteadyClock type alias to std::chrono::steady_clock

courtesy of c84390b from bitcoin#25487
This commit is contained in:
Kittywhiskers Van Gogh 2023-07-19 17:59:54 +00:00 committed by PastaPastaPasta
parent 5b338c33da
commit 1e609cff61

View File

@ -14,6 +14,7 @@
using namespace std::chrono_literals;
using SteadyClock = std::chrono::steady_clock;
using SteadySeconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>;
using SteadyMilliseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::milliseconds>;
using SteadyMicroseconds = std::chrono::time_point<std::chrono::steady_clock, std::chrono::microseconds>;