X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FProftimer.h;h=07dffff6b97bb4561c118653933ec2f76106a0cd;hp=c837b855f9143ed5f7d52b6df435460480e24559;hb=26f4bfc82f2b2359259578e9c54d476fc2de650f;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1 diff --git a/rts/Proftimer.h b/rts/Proftimer.h index c837b85..07dffff 100644 --- a/rts/Proftimer.h +++ b/rts/Proftimer.h @@ -9,14 +9,21 @@ #ifndef PROFTIMER_H #define PROFTIMER_H -extern void initProfTimer ( void ); -extern void handleProfTick ( void ); +#include "BeginPrivate.h" -extern void stopProfTimer ( void ); -extern void startProfTimer ( void ); -extern void stopHeapProfTimer ( void ); -extern void startHeapProfTimer ( void ); +void initProfTimer ( void ); +void handleProfTick ( void ); + +#ifdef PROFILING +void stopProfTimer ( void ); +void startProfTimer ( void ); +#endif + +void stopHeapProfTimer ( void ); +void startHeapProfTimer ( void ); extern rtsBool performHeapProfile; +#include "EndPrivate.h" + #endif /* PROFTIMER_H */