X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FItimer.h;h=3e41e49a7b95f63279263affa22a244c77d9ad0e;hb=0e6a76a1182be8336cfaaa6bf482c57a89193372;hp=257d2748e618cae5307e8455429ca80e2f340d41;hpb=66f7a41dfbf02a000ef3fb2a2b84c89f5dd53177;p=ghc-hetmet.git diff --git a/ghc/rts/Itimer.h b/ghc/rts/Itimer.h index 257d274..3e41e49 100644 --- a/ghc/rts/Itimer.h +++ b/ghc/rts/Itimer.h @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- - * $Id: Itimer.h,v 1.6 2000/08/03 11:28:35 simonmar Exp $ + * $Id: Itimer.h,v 1.10 2001/11/27 01:51:23 sof Exp $ * - * (c) The GHC Team 1998-1999 + * (c) The GHC Team 1998-2001 * * Interval timer for profiling and pre-emptive scheduling. * @@ -15,10 +15,8 @@ */ #define CS_MIN_MILLISECS TICK_MILLISECS /* milliseconds per slice */ -extern rtsBool do_prof_ticks; /* profiling ticks on/off */ - -nat initialize_virtual_timer ( nat ms ); -int install_vtalrm_handler ( void ); +int startVirtTimer( nat ms ); +int stopVirtTimer ( void ); void block_vtalrm_signal ( void ); void unblock_vtalrm_signal ( void ); unsigned int getourtimeofday ( void );