Request a heap census on the next context switch. The census can be requested whether or not the heap profiling timer is running.
Note: This won't do anything unless you also specify a profiling mode on the command line using the normal RTS options.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulerebase-1.21.2Haskell2010
Request a heap census on the next context switch. The census can be requested whether or not the heap profiling timer is running.
Note: This won't do anything unless you also specify a profiling mode on the command line using the normal RTS options.
Start heap profiling. This is called normally by the RTS on start-up,
but can be disabled using the rts flag --no-automatic-heap-samples.
Note: This won't do anything unless you also specify a profiling mode on the command line using the normal RTS options.
Start attributing ticks to cost centres. This is called by the RTS on
startup but can be disabled using the rts flag --no-automatic-time-samples.
Stop heap profiling.
Note: This won't do anything unless you also specify a profiling mode on the command line using the normal RTS options.
Stop attributing ticks to cost centres. Allocations will still be attributed.