1 /* -----------------------------------------------------------------------------
2 * $Id: ProfRts.h,v 1.9 2000/03/07 11:53:12 simonmar Exp $
4 * (c) The GHC Team, 1998-2000
6 * Support for profiling
8 * ---------------------------------------------------------------------------*/
10 #if defined(PROFILING) || defined(DEBUG)
11 void initProfiling ( void );
12 void endProfiling ( void );
14 extern FILE *prof_file;
19 void gen_XML_logfile ( void );
20 void report_ccs_profiling ( void );
21 void heap_profile_finish (void);
23 void PrintNewStackDecls ( void );
25 void print_ccs (FILE *, CostCentreStack *);
27 # define DEFAULT_INTERVAL TICK_FREQUENCY
29 extern rtsBool time_profiling;