summaryrefslogtreecommitdiff
path: root/lib/util/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/time.h')
-rw-r--r--lib/util/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/time.h b/lib/util/time.h
index cf6dc1caa75..90890cdbc81 100644
--- a/lib/util/time.h
+++ b/lib/util/time.h
@@ -51,6 +51,11 @@ a gettimeofday wrapper
_PUBLIC_ void GetTimeOfDay(struct timeval *tval);
/**
+a wrapper to preferably get the monotonic time
+**/
+_PUBLIC_ void clock_gettime_mono(struct timespec *tp);
+
+/**
interpret an 8 byte "filetime" structure to a time_t
It's originally in "100ns units since jan 1st 1601"
**/