aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-21 00:31:10 +0100
committerSven Gothel <[email protected]>2021-02-21 00:31:10 +0100
commitd7fc9bf3ee0acd3b2c21f92ceb925e9cd1d80dfc (patch)
tree466db35efa2aa7689968606ad458813ce12fa1f3 /include
parent1ad0d850655c13943436f725732bbe7c289957d8 (diff)
Add 'uint64_t getWallClockSeconds()'v0.3.2
Diffstat (limited to 'include')
-rw-r--r--include/jau/basic_types.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/jau/basic_types.hpp b/include/jau/basic_types.hpp
index a86725a..ac2c5de 100644
--- a/include/jau/basic_types.hpp
+++ b/include/jau/basic_types.hpp
@@ -50,6 +50,12 @@ namespace jau {
uint64_t getCurrentMilliseconds() noexcept;
/**
+ * Returns current wall-clock system `time of day` in seconds since Unix Epoch
+ * `00:00:00 UTC on 1 January 1970`.
+ */
+ uint64_t getWallClockSeconds() noexcept;
+
+ /**
// *************************************************
// *************************************************
// *************************************************