summaryrefslogtreecommitdiffstats
path: root/linux/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Platform.h')
-rw-r--r--linux/Platform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h
index 18d303d1..78a44275 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -19,6 +19,7 @@ in the source distribution for its full text.
#include "Process.h"
#include "ProcessLocksScreen.h"
#include "SignalsPanel.h"
+#include "generic/gettime.h"
#include "generic/hostname.h"
#include "generic/uname.h"
@@ -93,4 +94,12 @@ void Platform_longOptionsUsage(const char* name);
bool Platform_getLongOption(int opt, int argc, char** argv);
+static inline void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec) {
+ Generic_gettime_realtime(tv, msec);
+}
+
+static inline void Platform_gettime_monotonic(uint64_t* msec) {
+ Generic_gettime_monotonic(msec);
+}
+
#endif