6d3c4150b091846c87b5d5c701bab537cf5945dc
[ghc.git] / rts / Timer.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1995-2006
4 *
5 * Interval timer service for profiling and pre-emptive scheduling.
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef TIMER_H
10 #define TIMER_H
11
12 typedef void (*TickProc)(int);
13
14 extern void startTimer(void);
15 extern void stopTimer(void);
16
17 #endif /* TIMER_H */