X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FProftimer.h;h=1ddfc50072801b899deedfc942df39294ef0ff25;hb=2c9d00dfeeb7c1c4e3f036a66cdb8648fdfbce2b;hp=231f8da4e1163a434273ff782da96c272164474f;hpb=b9d8ddb91c9360e3165244520f31dcd28c396825;p=ghc-hetmet.git diff --git a/ghc/rts/Proftimer.h b/ghc/rts/Proftimer.h index 231f8da..1ddfc50 100644 --- a/ghc/rts/Proftimer.h +++ b/ghc/rts/Proftimer.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Proftimer.h,v 1.5 2000/04/03 15:54:50 simonmar Exp $ + * $Id: Proftimer.h,v 1.6 2001/11/22 14:25:12 simonmar Exp $ * * (c) The GHC Team, 1998 * @@ -7,10 +7,12 @@ * * ---------------------------------------------------------------------------*/ -extern rtsBool do_prof_ticks; -extern lnat total_prof_ticks; +extern void initProfTimer ( void ); +extern void handleProfTick ( void ); -extern void initProfTimer(nat ms); -extern void stopProfTimer(void); -extern void startProfTimer(void); -extern void handleProfTick(void); +extern void stopProfTimer ( void ); +extern void startProfTimer ( void ); +extern void stopHeapProfTimer ( void ); +extern void startHeapProfTimer ( void ); + +extern rtsBool performHeapProfile;