add (trivial) support for STM objects in lag/drag/void profiling
[ghc-hetmet.git] / ghc / rts / Profiling.h
index dccf444..d968349 100644 (file)
@@ -1,13 +1,16 @@
 /* -----------------------------------------------------------------------------
-
- * $Id: Profiling.h,v 1.4 2001/12/12 14:31:43 simonmar Exp $
  *
- * (c) The GHC Team, 1998-2000
+ * (c) The GHC Team, 1998-2005
  *
  * Support for profiling
  *
  * ---------------------------------------------------------------------------*/
 
+#ifndef PROFILING_H
+#define PROFILING_H
+
+#include <stdio.h>
+
 #if defined(PROFILING) || defined(DEBUG)
 void initProfiling1 ( void );
 void initProfiling2 ( void );
@@ -24,9 +27,13 @@ void reportCCSProfiling ( void );
 
 void PrintNewStackDecls ( void );
 
-extern lnat total_prof_ticks;
-
 extern void fprintCCS( FILE *f, CostCentreStack *ccs );
+extern void fprintCCS_stderr( CostCentreStack *ccs );
 
+#ifdef DEBUG
+extern void debugCCS( CostCentreStack *ccs );
+#endif
 
 #endif
+
+#endif /* PROFILING_H */