diff options
author | simonmar@microsoft.com <unknown> | 2007-12-14 13:58:42 +0000 |
---|---|---|
committer | simonmar@microsoft.com <unknown> | 2007-12-14 13:58:42 +0000 |
commit | 2cf1115cd06678e5255c39e9fd56787031c31c06 (patch) | |
tree | 1a49a916a3269b5739f114f67978381fd5e7f59b /includes | |
parent | 8311cc9208c6d6e1d9ad0458dab62e49bd154ae2 (diff) | |
download | haskell-2cf1115cd06678e5255c39e9fd56787031c31c06.tar.gz |
calculate wastage due to unused memory at the end of each block
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Storage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/Storage.h b/includes/Storage.h index a40fd95596..62d57b1d7b 100644 --- a/includes/Storage.h +++ b/includes/Storage.h @@ -519,7 +519,9 @@ extern void GetRoots ( evac_fn evac ); extern ullong RTS_VAR(total_allocated); extern lnat calcAllocated ( void ); -extern lnat calcLive ( void ); +extern lnat calcLiveBlocks ( void ); +extern lnat calcLiveWords ( void ); +extern lnat countOccupied ( bdescr *bd ); extern lnat calcNeeded ( void ); #if defined(DEBUG) |