HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Cost Centre Profiling

valuestartProfTimer :: IO ()

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.

valuestopProfTimer :: IO ()

Stop attributing ticks to cost centres. Allocations will still be attributed.

Heap Profiling

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.

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.

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.

Ticky counters (eventlog)

Request ticky counter samples to be written to the eventlog.

Note: This won't do anything unless you have specified RTS options on the command line to log ticky samples to the eventlog.