summaryrefslogtreecommitdiff
path: root/rts/Timer.h
blob: 6d3c4150b091846c87b5d5c701bab537cf5945dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1995-2006
 *
 * Interval timer service for profiling and pre-emptive scheduling.
 *
 * ---------------------------------------------------------------------------*/

#ifndef TIMER_H
#define TIMER_H

typedef void (*TickProc)(int);

extern void startTimer(void);
extern void stopTimer(void);

#endif /* TIMER_H */