X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FProfiling.h;h=e27ad4c5edd9738c952aebf9c6f1bf6fb51d611c;hp=d968349a527cefe6500dd26e3341504f2ff139fb;hb=HEAD;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1 diff --git a/rts/Profiling.h b/rts/Profiling.h index d968349..e27ad4c 100644 --- a/rts/Profiling.h +++ b/rts/Profiling.h @@ -11,29 +11,32 @@ #include -#if defined(PROFILING) || defined(DEBUG) -void initProfiling1 ( void ); -void initProfiling2 ( void ); -void endProfiling ( void ); +#include "BeginPrivate.h" + +void initProfiling1 (void); +void initProfiling2 (void); +void endProfiling (void); +void freeProfiling (void); extern FILE *prof_file; extern FILE *hp_file; -#endif #ifdef PROFILING -void gen_XML_logfile ( void ); +void gen_XML_logfile ( void ); void reportCCSProfiling ( void ); void PrintNewStackDecls ( void ); -extern void fprintCCS( FILE *f, CostCentreStack *ccs ); -extern void fprintCCS_stderr( CostCentreStack *ccs ); +void fprintCCS( FILE *f, CostCentreStack *ccs ); +void fprintCCS_stderr( CostCentreStack *ccs ); #ifdef DEBUG -extern void debugCCS( CostCentreStack *ccs ); +void debugCCS( CostCentreStack *ccs ); #endif #endif +#include "EndPrivate.h" + #endif /* PROFILING_H */