projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More notes
[ghc-hetmet.git]
/
rts
/
RtsStartup.c
diff --git
a/rts/RtsStartup.c
b/rts/RtsStartup.c
index
5104721
..
cdb45c6
100644
(file)
--- a/
rts/RtsStartup.c
+++ b/
rts/RtsStartup.c
@@
-246,6
+246,7
@@
hs_init(int *argc, char **argv[])
initProfiling1();
/* start the virtual timer 'subsystem'. */
initProfiling1();
/* start the virtual timer 'subsystem'. */
+ initTimer();
startTimer();
/* Initialise the stats department */
startTimer();
/* Initialise the stats department */
@@
-409,6
+410,7
@@
hs_exit_(rtsBool wait_foreign)
/* stop the ticker */
stopTimer();
/* stop the ticker */
stopTimer();
+ exitTimer();
/* reset the standard file descriptors to blocking mode */
resetNonBlockingFd(0);
/* reset the standard file descriptors to blocking mode */
resetNonBlockingFd(0);