blob: 56b2529f1bf556d68262b97bee1fd7933ebfc1e1 (
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
25
26
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2005
*
* Support for heap profiling
*
* ---------------------------------------------------------------------------*/
#ifndef PROFHEAP_H
#define PROFHEAP_H
#include "BeginPrivate.h"
void heapCensus (Time t);
uint32_t initHeapProfiling (void);
void endHeapProfiling (void);
rtsBool strMatchesSelector (const char* str, const char* sel);
#ifdef PROFILING
// doingRetainerProfiling: `-hr` or `-hr<cc> -h<x>`
rtsBool doingRetainerProfiling(void);
#endif
#include "EndPrivate.h"
#endif /* PROFHEAP_H */
|