X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FTimer.h;h=b03ef0680f1186043dd99c95c1ef806130942689;hp=1fe857d9692b600ed27a971b76acc18aa88db3d2;hb=209e093599d0d4db5487d124895d817c55b7c052;hpb=93db1991b5cacf8357493a2e17fbbfb485f3205b diff --git a/rts/Timer.h b/rts/Timer.h index 1fe857d..b03ef06 100644 --- a/rts/Timer.h +++ b/rts/Timer.h @@ -2,16 +2,14 @@ * * (c) The GHC Team, 1995-2006 * - * Interval timer service for profiling and pre-emptive scheduling. + * Interface to the RTS timer signal (uses OS-dependent Ticker.h underneath) * * ---------------------------------------------------------------------------*/ #ifndef TIMER_H #define TIMER_H -typedef void (*TickProc)(int); - -extern int startTimer(void); -extern int stopTimer(void); +RTS_PRIVATE void initTimer (void); +RTS_PRIVATE void exitTimer (rtsBool wait); #endif /* TIMER_H */