projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-09-28 07:12:55 by erkok]
[ghc-hetmet.git]
/
ghc
/
rts
/
Itimer.h
diff --git
a/ghc/rts/Itimer.h
b/ghc/rts/Itimer.h
index
f3a185a
..
3e41e49
100644
(file)
--- a/
ghc/rts/Itimer.h
+++ b/
ghc/rts/Itimer.h
@@
-1,7
+1,7
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Itimer.h,v 1.8 2001/11/21 20:55:10 sof 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.
*
*
* Interval timer for profiling and pre-emptive scheduling.
*
@@
-15,13
+15,8
@@
*/
#define CS_MIN_MILLISECS TICK_MILLISECS /* milliseconds per slice */
*/
#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;
-
-int 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 );
void block_vtalrm_signal ( void );
void unblock_vtalrm_signal ( void );
unsigned int getourtimeofday ( void );