projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup after the OPTIONS parsing was moved.
[ghc-hetmet.git]
/
ghc
/
rts
/
Profiling.h
diff --git
a/ghc/rts/Profiling.h
b/ghc/rts/Profiling.h
index
b503fa6
..
d968349
100644
(file)
--- a/
ghc/rts/Profiling.h
+++ b/
ghc/rts/Profiling.h
@@
-1,11
+1,16
@@
/* -----------------------------------------------------------------------------
*
/* -----------------------------------------------------------------------------
*
- * (c) The GHC Team, 1998-2004
+ * (c) The GHC Team, 1998-2005
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
+#ifndef PROFILING_H
+#define PROFILING_H
+
+#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 );
@@
-22,8
+27,13
@@
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
+
+#endif /* PROFILING_H */