blob: f63433feceb68ca882c818b39779b088c9797bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2005
*
* Support for heap profiling
*
* ---------------------------------------------------------------------------*/
#pragma once
#include "BeginPrivate.h"
void heapCensus (Time t);
void initHeapProfiling (void);
void endHeapProfiling (void);
void freeHeapProfiling (void);
bool strMatchesSelector (const char* str, const char* sel);
#if defined(PROFILING)
// doingRetainerProfiling: `-hr` or `-hr<cc> -h<x>`
bool doingRetainerProfiling(void);
#endif
#include "EndPrivate.h"
|