summaryrefslogtreecommitdiffhomepage
path: root/src/timer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.hpp')
-rw-r--r--src/timer.hpp3
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
{