summaryrefslogtreecommitdiff
path: root/innobase/include/ut0ut.h
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/ut0ut.h')
-rw-r--r--innobase/include/ut0ut.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/innobase/include/ut0ut.h b/innobase/include/ut0ut.h
index dee8785c9e7..8938957cd12 100644
--- a/innobase/include/ut0ut.h
+++ b/innobase/include/ut0ut.h
@@ -139,6 +139,14 @@ ib_time_t
ut_time(void);
/*=========*/
/**************************************************************
+Returns system time. */
+
+void
+ut_usectime(
+/*========*/
+ ulint* sec, /* out: seconds since the Epoch */
+ ulint* ms); /* out: microseconds since the Epoch+*sec */
+/**************************************************************
Returns the difference of two times in seconds. */
double