From bd4407817e523e3c5b347bc6be25ed007cb27034 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 16 May 2022 14:09:48 -0400 Subject: DumpMempool: Use std::chrono instead of weird int64_t arthmetics This makes it so that DumpMempool doesn't depend on MICRO anymore --- src/util/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/time.h') diff --git a/src/util/time.h b/src/util/time.h index 9df69a953c..fc49f23ce3 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -24,6 +24,7 @@ struct NodeClock : public std::chrono::system_clock { }; using NodeSeconds = std::chrono::time_point; +using SteadyClock = std::chrono::steady_clock; using SteadySeconds = std::chrono::time_point; using SteadyMilliseconds = std::chrono::time_point; using SteadyMicroseconds = std::chrono::time_point; -- cgit v1.2.3