X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRetainerProfile.h;h=b2adf71d9d23f76d838cb599b1a5289edd815ed8;hb=cd47700887365ca2a6af17d03e731efce65cf2ac;hp=f33c079f040f3345ac8247dfbd5209cb588c6f10;hpb=4c394999264d602f10e7623cefa7588423c4f68b;p=ghc-hetmet.git diff --git a/rts/RetainerProfile.h b/rts/RetainerProfile.h index f33c079..b2adf71 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( StgClosure *static_objects ); +#include "BeginPrivate.h" -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 +#include "EndPrivate.h" + #endif /* PROFILING */ #endif /* RETAINERPROFILE_H */