summaryrefslogtreecommitdiff
path: root/rts/Proftimer.h
blob: f4432e46bce33ca45b0b75dd69448bd10d63df4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2005
 *
 * Profiling interval timer
 *
 * ---------------------------------------------------------------------------*/

#pragma once

#include "BeginPrivate.h"

void initProfTimer      ( void );
void handleProfTick     ( void );
void pauseHeapProfTimer  ( void );
void resumeHeapProfTimer ( void );

extern bool performHeapProfile;
extern bool performTickySample;

#include "EndPrivate.h"