1 /* -----------------------------------------------------------------------------
2 * $Id: RetainerProfile.h,v 1.1 2001/11/22 14:25:12 simonmar Exp $
4 * (c) The GHC Team, 2001
7 * Retainer profiling interface.
9 * ---------------------------------------------------------------------------*/
11 #ifndef RETAINERPROFILE_H
12 #define RETAINERPROFILE_H
16 extern void initRetainerProfiling ( void );
17 extern void endRetainerProfiling ( void );
18 extern void printRetainer ( FILE *, retainer );
19 extern void retainerProfile ( void );
20 extern void resetStaticObjectForRetainerProfiling ( void );
22 // firstStack is exported because memInventory() in Schedule.c uses it.
24 extern bdescr *firstStack;
27 #endif /* PROFILING */
29 #endif /* RETAINERPROFILE_H */