[project @ 2005-07-06 11:31:53 by panne]
[ghc-hetmet.git] / ghc / rts / Profiling.h
index 7cc38df..66e85c4 100644 (file)
@@ -1,12 +1,13 @@
 /* -----------------------------------------------------------------------------
- * $Id: Profiling.h,v 1.5 2002/07/18 09:12:03 simonmar Exp $
  *
- * (c) The GHC Team, 1998-2000
+ * (c) The GHC Team, 1998-2004
  *
  * Support for profiling
  *
  * ---------------------------------------------------------------------------*/
 
+#include <stdio.h>
+
 #if defined(PROFILING) || defined(DEBUG)
 void initProfiling1 ( void );
 void initProfiling2 ( void );
@@ -23,8 +24,11 @@ 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