X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FProftimer.h;h=07dffff6b97bb4561c118653933ec2f76106a0cd;hb=d8334d807812e40f67770ffc37608c0ce66f96b2;hp=c837b855f9143ed5f7d52b6df435460480e24559;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git 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 */