Commit 2119bdb8 authored by simonmar's avatar simonmar
Browse files

[project @ 2003-01-23 12:26:04 by simonmar]

Document +RTS -xt
parent 70c1ca01
......@@ -681,7 +681,7 @@ x = nfib 25
currently support mixing the <option>-hr</option> and
<option>-hb</option> options.</para>
<para>There's one more option which relates to heap
<para>There are two more options which relate to heap
......@@ -689,7 +689,7 @@ x = nfib 25
<para> Set the profiling (sampling) interval to
<para>Set the profiling (sampling) interval to
<replaceable>secs</replaceable> seconds (the default is
0.1&nbsp;second). Fractions are allowed: for example
<Option>-i0.2</Option> will get 5 samples per second.
......@@ -697,6 +697,27 @@ x = nfib 25
sampled on a 1/50 second frequency.</para>
<indexterm><primary><option>-xt</option></primary><secondary>RTS option</secondary>
<para>Include the memory occupied by threads in a heap
profile. Each thread takes up a small area for its thread
state in addition to the space allocated for its stack
(stacks normally start small and then grow as
<para>This includes the main thread, so using
<option>-xt</option> is a good way to see how much stack
space the program is using.</para>
<para>Memory occupied by threads and their stacks is
labelled as &ldquo;TSO&rdquo; when displaying the profile
by closure description or type description.</para>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment