diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-03 13:30:43 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-04 06:58:13 +0100 |
commit | 363d7a69497aac9031e1635152a26c203095fb6e (patch) | |
tree | 4a792911481e032491a61a8e5bcada940f316951 /src/timer.hpp | |
parent | c29c9985e3b6e08128a2546b96a6ee7f98d97406 (diff) |
a!
Diffstat (limited to 'src/timer.hpp')
-rw-r--r-- | src/timer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |