projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix live register annotations on foreign calls
[ghc-hetmet.git]
/
ghc
/
rts
/
Proftimer.h
diff --git
a/ghc/rts/Proftimer.h
b/ghc/rts/Proftimer.h
index
38a023c
..
c837b85
100644
(file)
--- a/
ghc/rts/Proftimer.h
+++ b/
ghc/rts/Proftimer.h
@@
-1,16
+1,22
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Proftimer.h,v 1.4 1999/08/25 16:11:50 simonmar Exp $
*
*
- * (c) The GHC Team, 1998
+ * (c) The GHC Team, 1998-2005
*
* Profiling interval timer
*
* ---------------------------------------------------------------------------*/
*
* Profiling interval timer
*
* ---------------------------------------------------------------------------*/
-extern lnat total_prof_ticks;
+#ifndef PROFTIMER_H
+#define PROFTIMER_H
-extern void initProfTimer(nat ms);
-extern void stopProfTimer(void);
-extern void startProfTimer(void);
-extern void handleProfTick(int unused);
+extern void initProfTimer ( void );
+extern void handleProfTick ( void );
+extern void stopProfTimer ( void );
+extern void startProfTimer ( void );
+extern void stopHeapProfTimer ( void );
+extern void startHeapProfTimer ( void );
+
+extern rtsBool performHeapProfile;
+
+#endif /* PROFTIMER_H */