further fix for floating point primitives
[ghc-hetmet.git] / ghc / rts / Proftimer.h
index 38a023c..c837b85 100644 (file)
@@ -1,16 +1,22 @@
 /* -----------------------------------------------------------------------------
- * $Id: Proftimer.h,v 1.4 1999/08/25 16:11:50 simonmar Exp $
  *
- * (c) The GHC Team, 1998
+ * (c) The GHC Team, 1998-2005
  *
  * Profiling interval timer
  *
  * ---------------------------------------------------------------------------*/
 
-extern lnat total_prof_ticks;
+#ifndef PROFTIMER_H
+#define PROFTIMER_H
 
-extern void initProfTimer(nat ms);
-extern void stopProfTimer(void);
-extern void startProfTimer(void);
-extern void handleProfTick(int unused);
+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 */