Skip to content
Snippets Groups Projects
Commit e7bb9880 authored by Edward Z. Yang's avatar Edward Z. Yang Committed by Ian Lynagh
Browse files

Document -T RTS flag in manual.


Signed-off-by: default avatarEdward Z. Yang <ezyang@mit.edu>
parent 13968dc3
No related merge requests found
......@@ -729,6 +729,10 @@ $ ./prog -f +RTS -H32m -S -RTS -h foo bar
</varlistentry>
<varlistentry>
<term>
<option>-T</option>
<indexterm><primary><option>-T</option></primary><secondary>RTS option</secondary></indexterm>
</term>
<term>
<option>-t</option><optional><replaceable>file</replaceable></optional>
<indexterm><primary><option>-t</option></primary><secondary>RTS option</secondary></indexterm>
......@@ -751,6 +755,7 @@ $ ./prog -f +RTS -H32m -S -RTS -h foo bar
garbage collector, the amount of memory allocated, the
maximum size of the heap, and so on. The three
variants give different levels of detail:
<option>-T</option> collects the data but produces no output
<option>-t</option> produces a single line of output in the
same format as GHC's <option>-Rghc-timing</option> option,
<option>-s</option> produces a more detailed summary at the
......@@ -763,6 +768,12 @@ $ ./prog -f +RTS -H32m -S -RTS -h foo bar
<replaceable>file</replaceable> is omitted, then the output
is sent to <constant>stderr</constant>.</para>
<para>
If you use the <literal>-T</literal> flag then, you should
access the statistics using
<ulink url="&libraryBaseLocation;/GHC-Stats.html">GHC.Stats</ulink>.
</para>
<para>
If you use the <literal>-t</literal> flag then, when your
program finishes, you will see something like this:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment