X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FBlockAlloc.h;h=b6d451f39fa7f85e2f45e5bbd3d789871470c815;hb=b64c79adfe3b06c3a1633b5bedde0a507e30247e;hp=776df9b627102bb83db73bc8f2b57f465ca0c513;hpb=43a120b706a5eece6624ca4907af89fc9a480c5e;p=ghc-hetmet.git diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h index 776df9b..b6d451f 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -9,16 +9,23 @@ #ifndef BLOCK_ALLOC_H #define BLOCK_ALLOC_H +BEGIN_RTS_PRIVATE + /* Debugging -------------------------------------------------------------- */ +extern nat countBlocks (bdescr *bd); +extern nat countAllocdBlocks (bdescr *bd); + #ifdef DEBUG -extern void checkFreeListSanity(void); -nat countFreeList(void); -void markBlocks (bdescr *bd); -void reportUnmarkedBlocks (void); +void checkFreeListSanity(void); +nat countFreeList(void); +void markBlocks (bdescr *bd); +void reportUnmarkedBlocks (void); #endif extern lnat n_alloc_blocks; // currently allocated blocks extern lnat hw_alloc_blocks; // high-water allocated blocks +END_RTS_PRIVATE + #endif /* BLOCK_ALLOC_H */