/* -----------------------------------------------------------------------------
- * $Id: Itimer.h,v 1.7 2000/08/25 13:12:07 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.
*
*/
#define CS_MIN_MILLISECS TICK_MILLISECS /* milliseconds per slice */
-extern rtsBool do_prof_ticks; /* profiling ticks on/off */
-
-/* Total number of ticks since startup */
-extern lnat total_ticks;
-
-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 );