aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/Clock.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/Clock.hxx')
-rw-r--r--src/system/Clock.hxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/system/Clock.hxx b/src/system/Clock.hxx
index 7be1127bf..1c3651a99 100644
--- a/src/system/Clock.hxx
+++ b/src/system/Clock.hxx
@@ -25,6 +25,13 @@
#include <stdint.h>
/**
+ * Returns the value of a monotonic clock in seconds.
+ */
+gcc_pure
+unsigned
+MonotonicClockS();
+
+/**
* Returns the value of a monotonic clock in milliseconds.
*/
gcc_pure
@@ -38,4 +45,15 @@ gcc_pure
uint64_t
MonotonicClockUS();
+#ifdef WIN32
+
+/**
+ * Returns the uptime of the current process in seconds.
+ */
+gcc_pure
+unsigned
+GetProcessUptimeS();
+
+#endif
+
#endif