Reorganisation of the source tree
[ghc-hetmet.git] / rts / Proftimer.h
diff --git a/rts/Proftimer.h b/rts/Proftimer.h
new file mode 100644 (file)
index 0000000..c837b85
--- /dev/null
@@ -0,0 +1,22 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 1998-2005
+ *
+ * Profiling interval timer
+ *
+ * ---------------------------------------------------------------------------*/
+
+#ifndef PROFTIMER_H
+#define PROFTIMER_H
+
+extern void initProfTimer      ( void );
+extern void handleProfTick     ( void );
+
+extern void stopProfTimer      ( void );
+extern void startProfTimer     ( void );
+extern void stopHeapProfTimer  ( void );
+extern void startHeapProfTimer ( void );
+
+extern rtsBool performHeapProfile;
+
+#endif /* PROFTIMER_H */