Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
923d2151
Commit
923d2151
authored
Jan 23, 2016
by
Ben Gamari
🐢
Browse files
user-guide: Document -L RTS flag
See
#5641
.
parent
ec877886
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/runtime_control.rst
View file @
923d2151
...
...
@@ -797,13 +797,18 @@ executables:
.. rts-flag:: -hT
(can be shortened to ``-h``.) Generates a basic heap profile, in the
file :file:`prog.hp`. To produce the heap profile graph, use :command:`hp2ps`
(see :ref:`hp2ps`). 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
(:ref:`profiling`).
Generates a basic heap profile, in the file :file:`prog.hp`. To produce the
heap profile graph, use :command:`hp2ps` (see :ref:`hp2ps`). 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
(:ref:`profiling`). Can be shortened to ``-h``.
.. rts-flag:: -L <n>
:default: 25 characters
Sets the maximum length of the cost-centre names listed in the heap profile.
.. _rts-eventlog:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment