summaryrefslogtreecommitdiff
path: root/includes/rts/Timer.h
blob: ca039537d36533d2459c6ccf927a911c8fac94fc (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, 1995-2009
 *
 * Interface to the RTS timer signal (uses OS-dependent Ticker.h underneath)
 *
 * Do not #include this file directly: #include "Rts.h" instead.
 *
 * To understand the structure of the RTS headers, see the wiki:
 *   http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTS_TIMER_H
#define RTS_TIMER_H

void startTimer (void);
void stopTimer  (void);
int rtsTimerSignal (void);

#endif /* RTS_TIMER_H */