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

#pragma once

#include "BeginPrivate.h"

void        heapCensus         (Time t);
uint32_t    initHeapProfiling  (void);
void        endHeapProfiling   (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"