Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Kaznacheev
GHC
Commits
e7bb9880
Commit
e7bb9880
authored
13 years ago
by
Edward Z. Yang
Committed by
Ian Lynagh
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Document -T RTS flag in manual.
Signed-off-by:
Edward Z. Yang
<
ezyang@mit.edu
>
parent
13968dc3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/users_guide/runtime_control.xml
+11
-0
11 additions, 0 deletions
docs/users_guide/runtime_control.xml
with
11 additions
and
0 deletions
docs/users_guide/runtime_control.xml
+
11
−
0
View file @
e7bb9880
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment