projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-07-26 14:38:42 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
Profiling.h
diff --git
a/ghc/rts/Profiling.h
b/ghc/rts/Profiling.h
index
735fa66
..
66e85c4
100644
(file)
--- a/
ghc/rts/Profiling.h
+++ b/
ghc/rts/Profiling.h
@@
-1,12
+1,13
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Profiling.h,v 1.6 2004/08/13 13:10:28 simonmar Exp $
*
*
- * (c) The GHC Team, 1998-2000
+ * (c) The GHC Team, 1998-2004
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
+#include <stdio.h>
+
#if defined(PROFILING) || defined(DEBUG)
void initProfiling1 ( void );
void initProfiling2 ( void );
#if defined(PROFILING) || defined(DEBUG)
void initProfiling1 ( void );
void initProfiling2 ( void );
@@
-23,8
+24,11
@@
void reportCCSProfiling ( void );
void PrintNewStackDecls ( void );
void PrintNewStackDecls ( void );
-extern lnat RTS_VAR(total_prof_ticks);
-
extern void fprintCCS( FILE *f, CostCentreStack *ccs );
extern void fprintCCS( FILE *f, CostCentreStack *ccs );
+extern void fprintCCS_stderr( CostCentreStack *ccs );
+
+#ifdef DEBUG
+extern void debugCCS( CostCentreStack *ccs );
+#endif
#endif
#endif