projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-03-13 10:53:55 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
ProfRts.h
diff --git
a/ghc/rts/ProfRts.h
b/ghc/rts/ProfRts.h
index
870786c
..
1af4ca1
100644
(file)
--- a/
ghc/rts/ProfRts.h
+++ b/
ghc/rts/ProfRts.h
@@
-1,26
+1,30
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: ProfRts.h,v 1.5 1999/09/15 13:45:18 simonmar Exp $
+ * $Id: ProfRts.h,v 1.10 2000/03/08 17:48:24 simonmar Exp $
*
*
- * (c) The GHC Team, 1998-1999
+ * (c) The GHC Team, 1998-2000
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
*
* Support for profiling
*
* ---------------------------------------------------------------------------*/
+#if defined(PROFILING) || defined(DEBUG)
+void initProfiling1 ( void );
+void initProfiling2 ( void );
+void endProfiling ( void );
+
+extern FILE *prof_file;
+#endif
+
#ifdef PROFILING
#ifdef PROFILING
+void gen_XML_logfile ( void );
void report_ccs_profiling ( void );
void heap_profile_finish (void);
void report_ccs_profiling ( void );
void heap_profile_finish (void);
-void initProfiling ( void );
-void endProfiling ( void );
-
void PrintNewStackDecls ( void );
void print_ccs (FILE *, CostCentreStack *);
void PrintNewStackDecls ( void );
void print_ccs (FILE *, CostCentreStack *);
-void report_ccs_profiling( void );
-
# define DEFAULT_INTERVAL TICK_FREQUENCY
extern rtsBool time_profiling;
# define DEFAULT_INTERVAL TICK_FREQUENCY
extern rtsBool time_profiling;