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.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/system/Clock.hxx b/src/system/Clock.hxx
index 7be1127bf..28df0c7e0 100644
--- a/src/system/Clock.hxx
+++ b/src/system/Clock.hxx
@@ -38,4 +38,15 @@ gcc_pure
uint64_t
MonotonicClockUS();
+#ifdef WIN32
+
+/**
+ * Returns the uptime of the current process in seconds.
+ */
+gcc_pure
+unsigned
+GetProcessUptimeS();
+
+#endif
+
#endif