X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRetainerProfile.h;h=9736eeb8d6895b401a53e70c75da8b286d02c6b3;hb=661c97c65e5fa47177502e592bb763f752b487ac;hp=827daa8ef468c779ac25441dc8610d3100146937;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/RetainerProfile.h b/rts/RetainerProfile.h index 827daa8..9736eeb 100644 --- a/rts/RetainerProfile.h +++ b/rts/RetainerProfile.h @@ -14,13 +14,14 @@ #include "RetainerSet.h" -extern void initRetainerProfiling ( void ); -extern void endRetainerProfiling ( void ); -extern void printRetainer ( FILE *, retainer ); -extern void retainerProfile ( void ); -extern void resetStaticObjectForRetainerProfiling ( void ); +BEGIN_RTS_PRIVATE -extern StgWord RTS_VAR(flip); +void initRetainerProfiling ( void ); +void endRetainerProfiling ( void ); +void retainerProfile ( void ); +void resetStaticObjectForRetainerProfiling( StgClosure *static_objects ); + +extern StgWord flip; // extract the retainer set field from c #define RSET(c) ((c)->header.prof.hp.rs) @@ -42,6 +43,8 @@ retainerSetOf( StgClosure *c ) extern lnat retainerStackBlocks ( void ); #endif +END_RTS_PRIVATE + #endif /* PROFILING */ #endif /* RETAINERPROFILE_H */