projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak the build-dependencies rule, and add comments for it
[ghc-hetmet.git]
/
rts
/
Timer.h
diff --git
a/rts/Timer.h
b/rts/Timer.h
index
1fe857d
..
f0b5459
100644
(file)
--- a/
rts/Timer.h
+++ b/
rts/Timer.h
@@
-2,16
+2,14
@@
*
* (c) The GHC Team, 1995-2006
*
*
* (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
*
* ---------------------------------------------------------------------------*/
#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 (void);
#endif /* TIMER_H */
#endif /* TIMER_H */