rts: Introduce non-moving heap census
authorBen Gamari <ben@well-typed.com>
Tue, 5 Feb 2019 16:52:13 +0000 (11:52 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 24 Jun 2019 21:41:17 +0000 (17:41 -0400)
commit7fe8c4806fac5caca802e2eaab98b7fa390319f2
treec27d72adc77bc5ac586466dedb2d87f3fade3743
parent9004c35b8e11c5c706174a24b46c39e895a56484
rts: Introduce non-moving heap census

This introduces a simple census of the non-moving heap (not to be
confused with the heap census used by the heap profiler). This
collects basic heap usage information (number of allocated and free
blocks) which is useful when characterising fragmentation of the
nonmoving heap.
rts/rts.cabal.in
rts/sm/NonMoving.c
rts/sm/NonMovingCensus.c [new file with mode: 0644]
rts/sm/NonMovingCensus.h [new file with mode: 0644]