1 /* -----------------------------------------------------------------------------
2 * $Id: ProfRts.h,v 1.2 1998/12/02 13:28:35 simonm Exp $
4 * (c) The GHC Team, 1998
6 * Support for profiling
8 * ---------------------------------------------------------------------------*/
12 void report_ccs_profiling ( void );
13 void heap_profile_finish (void);
15 void initProfiling ( void );
16 void endProfiling ( void );
18 void heapCensus ( bdescr *bd );
20 void PrintNewStackDecls ( void );
22 void print_ccs (FILE *, CostCentreStack *);
24 void report_ccs_profiling( void );
26 # define TICK_FREQUENCY 50 /* ticks per second */
27 # define TICK_MILLISECS (1000/TICK_FREQUENCY) /* ms per tick */
29 # define DEFAULT_INTERVAL TICK_FREQUENCY
31 extern rtsBool time_profiling;