[Document +RTS -hT Simon Marlow **20081001163222 We forgot to document this in GHC 6.8 ] { hunk ./docs/users_guide/runtime_control.xml 685 - RTS options for profiling and parallelism + RTS options for concurrency and parallelism hunk ./docs/users_guide/runtime_control.xml 687 - The RTS options related to profiling are described in , those for concurrency in + The RTS options related to concurrency are described in hunk ./docs/users_guide/runtime_control.xml 692 + + RTS options for profiling + + Most profiling runtime options are only available when you + compile your program for profiling (see + , and + for the runtime options). + However, there is one profiling option that is available + for ordinary non-profiled executables: + + + + + + RTS + option + + + Generates a basic heap profile, in the + file prog.hp. + To produce the heap profile graph, + use hp2ps (see ). The basic heap profile is broken down by data + constructor, with other types of closures (functions, thunks, + etc.) grouped into broad categories + (e.g. FUN, THUNK). To + get a more detailed profile, use the full profiling + support (). + + + + + }