summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.h
blob: b781235c77d1e78c46b4f04f0ed8447b0ee1e31b (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

#pragma GCC visibility push(hidden)

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

#pragma GCC visibility pop

#endif /* PROFHEAP_H */