summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.h
blob: 0251416762786cf44c12131ddfe179089f5996ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2005
 *
 * Support for heap profiling
 *
 * ---------------------------------------------------------------------------*/

#ifndef PROFHEAP_H
#define PROFHEAP_H

extern void    heapCensus( void );
extern nat     initHeapProfiling( void );
extern void    endHeapProfiling( void );
extern rtsBool closureSatisfiesConstraints( StgClosure* p );
extern void    LDV_recordDead( StgClosure *c, nat size );
extern rtsBool strMatchesSelector( char* str, char* sel );

#endif /* PROFHEAP_H */