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>
Fri, 17 May 2019 17:02:09 +0000 (13:02 -0400)
commit25257464a7427bdb5140db69110ff822fdd721d7
tree654fd89634b322a45c7f01e72eaec0abf31b4a04
parenta7affe42bb04bd53c23a6dea13879ff02e745868
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/sm/NonMoving.c
rts/sm/NonMovingCensus.c [new file with mode: 0644]
rts/sm/NonMovingCensus.h [new file with mode: 0644]