X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FTimer.h;h=6d3c4150b091846c87b5d5c701bab537cf5945dc;hb=d4050431de1adddedb240e497f77f89301f77070;hp=ae26653462b82006b3a0e33a308384175d1c122e;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/Timer.h b/rts/Timer.h index ae26653..6d3c415 100644 --- a/rts/Timer.h +++ b/rts/Timer.h @@ -1,6 +1,6 @@ /* ----------------------------------------------------------------------------- * - * (c) The GHC Team, 1995-2005 + * (c) The GHC Team, 1995-2006 * * Interval timer service for profiling and pre-emptive scheduling. * @@ -9,16 +9,9 @@ #ifndef TIMER_H #define TIMER_H -# define TICK_MILLISECS (1000/TICK_FREQUENCY) /* ms per tick */ - -/* Context switch timing constants. Context switches happen after a - * whole number of ticks, the default being every tick. - */ -#define CS_MIN_MILLISECS TICK_MILLISECS /* milliseconds per slice */ - typedef void (*TickProc)(int); -extern int startTimer(nat ms); -extern int stopTimer(void); +extern void startTimer(void); +extern void stopTimer(void); #endif /* TIMER_H */