Itimer.h 588 Bytes
Newer Older
1 2
/* -----------------------------------------------------------------------------
 *
3
 * (c) The GHC Team 1998-2001
4 5 6 7
 *
 * Interval timer for profiling and pre-emptive scheduling.
 *
 * ---------------------------------------------------------------------------*/
sof's avatar
sof committed
8 9
#ifndef __ITIMER_H__
#define __ITIMER_H__
10

sof's avatar
sof committed
11
extern int startTicker( nat ms, TickProc handle_tick);
sof's avatar
sof committed
12
extern int stopTicker ( void );
13

sof's avatar
sof committed
14 15 16
extern unsigned int getourtimeofday   ( void );
#if 0
/* unused */
sof's avatar
sof committed
17 18
extern void block_vtalrm_signal       ( void );
extern void unblock_vtalrm_signal     ( void );
sof's avatar
sof committed
19
#endif
sof's avatar
sof committed
20
#endif /* __ITIMER_H__ */