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

#ifndef PROFHEAP_H
#define PROFHEAP_H

BEGIN_RTS_PRIVATE

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

END_RTS_PRIVATE

#endif /* PROFHEAP_H */