From 363d7a69497aac9031e1635152a26c203095fb6e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2024 13:30:43 +0100 Subject: a! --- src/timer.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/timer.hpp b/src/timer.hpp index 96b652f7..1835d7e4 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -186,7 +186,8 @@ struct Ns uint64_t stamp; }; -constexpr inline Ns Second{1000000000}, Millisecond{1000000}; +constexpr inline Ns Second{1000000000}, Millisecond{1000000}, Microsecond{1000}; +constexpr inline const Ns& Seconds{Second}, Milliseconds{Millisecond}, Microseconds{Microsecond}; struct Time final { -- cgit v1.2.3