HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulererebase-1.21.2Haskell2010

GHC.Profiling

  • 5 values
  • Packagererebase-1.21.2
  • Exports5
  • LanguageHaskell2010
  • LicenceMIT
  • SourceProfiling.hs
valuerequestHeapCensus :: IO ()
#

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.

valuestartHeapProfTimer :: IO ()
#

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.

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.

valuestopHeapProfTimer :: IO ()
#

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.

valuestopProfTimer :: IO ()
#

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