X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Frts%2FProftimer.h;h=c837b855f9143ed5f7d52b6df435460480e24559;hb=1f5e3b2472084434edf71a89c4764d1509e8e9b0;hp=915b0d07930d8906b15673502be0315593a091b0;hpb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;p=ghc-hetmet.git diff --git a/ghc/rts/Proftimer.h b/ghc/rts/Proftimer.h index 915b0d0..c837b85 100644 --- a/ghc/rts/Proftimer.h +++ b/ghc/rts/Proftimer.h @@ -1,14 +1,22 @@ /* ----------------------------------------------------------------------------- - * $Id: Proftimer.h,v 1.2 1998/12/02 13:28:37 simonm 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(void); +#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 */