Hadrian: bump Cabal submodule, install extra dynamic flavours of RTS
[ghc.git] / rts / ProfHeap.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1998-2005
4 *
5 * Support for heap profiling
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #pragma once
10
11 #include "BeginPrivate.h"
12
13 void heapCensus (Time t);
14 uint32_t initHeapProfiling (void);
15 void endHeapProfiling (void);
16 bool strMatchesSelector (const char* str, const char* sel);
17
18 #if defined(PROFILING)
19 // doingRetainerProfiling: `-hr` or `-hr<cc> -h<x>`
20 bool doingRetainerProfiling(void);
21 #endif
22
23 #include "EndPrivate.h"