883672fd0c4da2dc4d37db7362058049d01805c7
[ghc-hetmet.git] / ghc / rts / ProfRts.h
1 /* -----------------------------------------------------------------------------
2  * $Id: ProfRts.h,v 1.6 1999/09/16 12:29:55 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 report_ccs_profiling ( void );
18 void heap_profile_finish (void);
19
20 void initProfiling ( void );
21 void endProfiling  ( void );
22
23 void PrintNewStackDecls ( void );
24
25 void print_ccs (FILE *, CostCentreStack *);
26
27 void report_ccs_profiling( void );
28
29 # define DEFAULT_INTERVAL TICK_FREQUENCY
30
31 extern rtsBool time_profiling;
32
33 #endif