5dcfd36fa84425f7af22f3573903e229c139c76e
[ghc-hetmet.git] / ghc / rts / ProfRts.h
1 /* -----------------------------------------------------------------------------
2  * $Id: ProfRts.h,v 1.8 2000/02/17 17:19:42 simonmar Exp $
3  *
4  * (c) The GHC Team, 1998-1999
5  *
6  * Support for profiling
7  *
8  * ---------------------------------------------------------------------------*/
9
10 #if defined(PROFILING) || defined(DEBUG)
11 void initProfiling ( void );
12 void endProfiling  ( void );
13 #endif
14
15 #ifdef PROFILING
16
17 void gen_XML_logfile     ( void );
18 void report_ccs_profiling ( void );
19 void heap_profile_finish (void);
20
21 void PrintNewStackDecls ( void );
22
23 void print_ccs (FILE *, CostCentreStack *);
24
25 # define DEFAULT_INTERVAL TICK_FREQUENCY
26
27 extern rtsBool time_profiling;
28
29 #endif