[project @ 2004-11-10 02:13:12 by wolfgang]
[ghc-hetmet.git] / ghc / rts / Itimer.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team 1998-2001
4  *
5  * Interval timer for profiling and pre-emptive scheduling.
6  *
7  * ---------------------------------------------------------------------------*/
8 #ifndef __ITIMER_H__
9 #define __ITIMER_H__
10
11 extern int startTicker( nat ms, TickProc handle_tick);
12 extern int stopTicker ( void );
13
14 extern nat getourtimeofday   ( void );
15 #if 0
16 /* unused */
17 extern void block_vtalrm_signal       ( void );
18 extern void unblock_vtalrm_signal     ( void );
19 #endif
20 #endif /* __ITIMER_H__ */