summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.h
blob: 279eef2bf9bd3bc9d09cd3e08075a69eb40ba8c4 (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);
nat     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 */