projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move some make variables around so they are available when cleaning
[ghc-hetmet.git]
/
rts
/
RetainerProfile.h
diff --git
a/rts/RetainerProfile.h
b/rts/RetainerProfile.h
index
827daa8
..
9736eeb
100644
(file)
--- a/
rts/RetainerProfile.h
+++ b/
rts/RetainerProfile.h
@@
-14,13
+14,14
@@
#include "RetainerSet.h"
#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)
// 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
extern lnat retainerStackBlocks ( void );
#endif
+END_RTS_PRIVATE
+
#endif /* PROFILING */
#endif /* RETAINERPROFILE_H */
#endif /* PROFILING */
#endif /* RETAINERPROFILE_H */