[project @ 2004-02-12 02:04:59 by mthomas]
[ghc-hetmet.git] / ghc / rts / ProfHeap.h
1 /* -----------------------------------------------------------------------------
2  * $Id: ProfHeap.h,v 1.4 2001/12/12 14:31:43 simonmar Exp $
3  *
4  * (c) The GHC Team, 1998-1999
5  *
6  * Support for heap profiling
7  *
8  * ---------------------------------------------------------------------------*/
9
10 #ifndef PROFHEAP_H
11 #define PROFHEAP_H
12
13 extern void    heapCensus( void );
14 extern nat     initHeapProfiling( void );
15 extern void    endHeapProfiling( void );
16 extern rtsBool closureSatisfiesConstraints( StgClosure* p );
17 extern void    LDV_recordDead( StgClosure *c, nat size );
18 extern rtsBool strMatchesSelector( char* str, char* sel );
19
20 #endif