X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FProftimer.h;h=c837b855f9143ed5f7d52b6df435460480e24559;hb=4dd415e9d8e564ca09937042b5c5605f7f2991c9;hp=1e1a090e8551cd2ad16dd0b4f35c3cc75bf22f78;hpb=c01bd74591f8e7b5d9c90100a9f64b1c4bfb9238;p=ghc-hetmet.git diff --git a/ghc/rts/Proftimer.h b/ghc/rts/Proftimer.h index 1e1a090..c837b85 100644 --- a/ghc/rts/Proftimer.h +++ b/ghc/rts/Proftimer.h @@ -1,14 +1,22 @@ /* ----------------------------------------------------------------------------- - * $Id: Proftimer.h,v 1.3 1999/08/04 17:03:41 panne Exp $ * - * (c) The GHC Team, 1998 + * (c) The GHC Team, 1998-2005 * * Profiling interval timer * * ---------------------------------------------------------------------------*/ -extern void initProfTimer(nat ms); -extern void stopProfTimer(void); -extern void startProfTimer(void); -extern void handleProfTick(int unused); +#ifndef PROFTIMER_H +#define PROFTIMER_H +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 */