Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
10831 commits behind the upstream repository.
Matthew Pickering's avatar
Matthew Pickering authored
This patch exposes three new functions in `GHC.Profiling` which allow
heap profiling to be enabled and disabled dynamically.

1. startHeapProfTimer - Starts heap profiling with the given RTS options
2. stopHeapProfTimer  - Stops heap profiling
3. requestHeapCensus  - Perform a heap census on the next context
                        switch, regardless of whether the timer is enabled or not.
d89deeba
History
Name Last commit Last update
..
should_compile
should_fail
should_run
Makefile