1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2004
5 * Support for profiling
7 * ---------------------------------------------------------------------------*/
9 #if defined(PROFILING) || defined(DEBUG)
10 void initProfiling1 ( void );
11 void initProfiling2 ( void );
12 void endProfiling ( void );
14 extern FILE *prof_file;
20 void gen_XML_logfile ( void );
21 void reportCCSProfiling ( void );
23 void PrintNewStackDecls ( void );
25 extern lnat RTS_VAR(total_prof_ticks);
27 extern void fprintCCS( FILE *f, CostCentreStack *ccs );