1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-1999
5 * Block Allocator Interface
7 * ---------------------------------------------------------------------------*/
14 /* Debugging -------------------------------------------------------------- */
16 extern nat countBlocks (bdescr *bd);
17 extern nat countAllocdBlocks (bdescr *bd);
20 void checkFreeListSanity(void);
21 nat countFreeList(void);
22 void markBlocks (bdescr *bd);
23 void reportUnmarkedBlocks (void);
26 extern lnat n_alloc_blocks; // currently allocated blocks
27 extern lnat hw_alloc_blocks; // high-water allocated blocks
31 #endif /* BLOCK_ALLOC_H */