summaryrefslogtreecommitdiff
path: root/rts/include/rts/GetTime.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include/rts/GetTime.h')
-rw-r--r--rts/include/rts/GetTime.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rts/include/rts/GetTime.h b/rts/include/rts/GetTime.h
new file mode 100644
index 0000000000..53207ce307
--- /dev/null
+++ b/rts/include/rts/GetTime.h
@@ -0,0 +1,16 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 1995-2009
+ *
+ * Interface to the RTS time
+ *
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ * https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
+ *
+ * ---------------------------------------------------------------------------*/
+
+#pragma once
+
+StgWord64 getMonotonicNSec (void);