/* ----------------------------------------------------------------------------- * * (c) The GHC Team, 1998-2005 * * Support for heap profiling * * ---------------------------------------------------------------------------*/ #ifndef PROFHEAP_H #define PROFHEAP_H #include "BeginPrivate.h" void heapCensus (Time t); uint32_t initHeapProfiling (void); void endHeapProfiling (void); bool strMatchesSelector (const char* str, const char* sel); #ifdef PROFILING // doingRetainerProfiling: `-hr` or `-hr -h` bool doingRetainerProfiling(void); #endif #include "EndPrivate.h" #endif /* PROFHEAP_H */