diff options
author | Bartosz Nitka <niteria@gmail.com> | 2017-05-08 06:26:12 -0700 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2017-05-08 06:26:17 -0700 |
commit | c685a44776ca77cad813f32e3cc7f7a42daf1d7d (patch) | |
tree | 2bbd191a0c46746bdbea69c3f9f7caa5319664a3 /docs/users_guide/profiling.rst | |
parent | 579749d4c74b75d8f5df83234414b92950aca64b (diff) | |
download | haskell-c685a44776ca77cad813f32e3cc7f7a42daf1d7d.tar.gz |
[Docs] Prefer cost centre
There may be some subtlety I'm not seeing with the usage
of center vs centre. Otherwise this makes it more consistent
in the docs.
There's one instance in 8.0.2-notes.rst, but I'm not sure if
we want to modify it retroactively.
Test Plan: harbormaster?
Reviewers: bgamari, austin
Reviewed By: bgamari
Subscribers: rwbarton, thomie, simonmar
Differential Revision: https://phabricator.haskell.org/D3548
Diffstat (limited to 'docs/users_guide/profiling.rst')
-rw-r--r-- | docs/users_guide/profiling.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/profiling.rst b/docs/users_guide/profiling.rst index d035cc56d4..cf345ed513 100644 --- a/docs/users_guide/profiling.rst +++ b/docs/users_guide/profiling.rst @@ -419,11 +419,11 @@ enclosed between ``+RTS ... -RTS`` as usual): .. rts-flag:: -po ⟨stem⟩ The :rts-flag:`-po` option overrides the stem used to form the output file - paths for the cost-center profiler (see :rts-flag:`-p` and :rts-flag:`-pj` + paths for the cost-centre profiler (see :rts-flag:`-p` and :rts-flag:`-pj` flags above) and heap profiler (see :rts-flag:`-h`). For instance, running a program with ``+RTS -h -p -pohello-world`` would - produce a heap profile named :file:`hello-world.hp` and a cost-center + produce a heap profile named :file:`hello-world.hp` and a cost-centre profile named :file:`hello-world.prof`. .. rts-flag:: -V <secs> @@ -490,7 +490,7 @@ tree-like object (which we'll call a "cost-centre stack" here) with the following properties, ``id`` (integral number) - The ``id`` of a cost-center listed in the ``cost_centres`` list. + The ``id`` of a cost-centre listed in the ``cost_centres`` list. ``entries`` (integral number) How many times was this cost-centre entered? ``ticks`` (integral number) |