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