Fix segfault with STM; fixes #8035. Patch from errge.
[ghc.git] / rts / Proftimer.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1998-2005
4 *
5 * Profiling interval timer
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef PROFTIMER_H
10 #define PROFTIMER_H
11
12 #include "BeginPrivate.h"
13
14 void initProfTimer ( void );
15 void handleProfTick ( void );
16
17 void stopHeapProfTimer ( void );
18 void startHeapProfTimer ( void );
19
20 extern rtsBool performHeapProfile;
21
22 #include "EndPrivate.h"
23
24 #endif /* PROFTIMER_H */