[project @ 2005-10-26 12:35:12 by simonpj]
[ghc-hetmet.git] / ghc / rts / ProfHeap.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2005
4  *
5  * Support for heap profiling
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef PROFHEAP_H
10 #define PROFHEAP_H
11
12 extern void    heapCensus( void );
13 extern nat     initHeapProfiling( void );
14 extern void    endHeapProfiling( void );
15 extern rtsBool closureSatisfiesConstraints( StgClosure* p );
16 extern void    LDV_recordDead( StgClosure *c, nat size );
17 extern rtsBool strMatchesSelector( char* str, char* sel );
18
19 #endif /* PROFHEAP_H */