diff options
author | Ben Gamari <ben@well-typed.com> | 2019-02-05 11:52:13 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 12:17:00 -0400 |
commit | 9f42cd81af3daa1009509be606e43763dd4c3cea (patch) | |
tree | 5d778471ec0668621f560a67036674731c2fb4e2 /rts/sm/NonMovingCensus.h | |
parent | 912e440e6f0277730b2ad611097f96588cc435a3 (diff) | |
download | haskell-9f42cd81af3daa1009509be606e43763dd4c3cea.tar.gz |
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.
Diffstat (limited to 'rts/sm/NonMovingCensus.h')
-rw-r--r-- | rts/sm/NonMovingCensus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rts/sm/NonMovingCensus.h b/rts/sm/NonMovingCensus.h new file mode 100644 index 0000000000..a4f84c4dff --- /dev/null +++ b/rts/sm/NonMovingCensus.h @@ -0,0 +1,11 @@ +/* ----------------------------------------------------------------------------- + * + * (c) The GHC Team, 1998-2018 + * + * Non-moving garbage collector and allocator: Accounting census + * + * ---------------------------------------------------------------------------*/ + +#pragma once + +void nonmovingPrintAllocatorCensus(void); |