X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FTimer.h;h=59b695cac27d8eebdff8a28d7642a391f5eba12c;hp=1fe857d9692b600ed27a971b76acc18aa88db3d2;hb=ff073cf32346caaa00f2c15161c88de6a3c5f8db;hpb=93db1991b5cacf8357493a2e17fbbfb485f3205b diff --git a/rts/Timer.h b/rts/Timer.h index 1fe857d..59b695c 100644 --- a/rts/Timer.h +++ b/rts/Timer.h @@ -2,16 +2,16 @@ * * (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); +extern void initTimer(void); +extern void startTimer(void); +extern void stopTimer(void); +extern void exitTimer(void); #endif /* TIMER_H */