[project @ 2004-02-12 02:04:59 by mthomas]
[ghc-hetmet.git] / ghc / rts / Profiling.h
1 /* -----------------------------------------------------------------------------
2  * $Id: Profiling.h,v 1.5 2002/07/18 09:12:03 simonmar Exp $
3  *
4  * (c) The GHC Team, 1998-2000
5  *
6  * Support for profiling
7  *
8  * ---------------------------------------------------------------------------*/
9
10 #if defined(PROFILING) || defined(DEBUG)
11 void initProfiling1 ( void );
12 void initProfiling2 ( void );
13 void endProfiling   ( void );
14
15 extern FILE *prof_file;
16 extern FILE *hp_file;
17 #endif
18
19 #ifdef PROFILING
20
21 void gen_XML_logfile     ( void );
22 void reportCCSProfiling ( void );
23
24 void PrintNewStackDecls ( void );
25
26 extern lnat total_prof_ticks;
27
28 extern void fprintCCS( FILE *f, CostCentreStack *ccs );
29
30 #endif