summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-05-17 21:58:23 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-20 05:33:08 -0400
commit8a26e8d62cf315fb351419ac2cad6aa01ca9e175 (patch)
treebcaa15bd3624f7fb0aa460e87bb0b72483df1339 /libraries
parent0b8481361bf87461f1f6f14ae74209d66e45ee82 (diff)
downloadhaskell-8a26e8d62cf315fb351419ac2cad6aa01ca9e175.tar.gz
nonmoving: Fix documentation of GC statistics fields
These were previously incorrect. Fixes #21553.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/Stats.hsc19
1 files changed, 8 insertions, 11 deletions
diff --git a/libraries/base/GHC/Stats.hsc b/libraries/base/GHC/Stats.hsc
index 7b5c0cd463..0d772ba765 100644
--- a/libraries/base/GHC/Stats.hsc
+++ b/libraries/base/GHC/Stats.hsc
@@ -105,23 +105,20 @@ data RTSStats = RTSStats {
-- | Total elapsed time (at the previous GC)
, elapsed_ns :: RtsTime
- -- | The CPU time used during the post-mark pause phase of the concurrent
- -- nonmoving GC.
+ -- | The total CPU time used during the post-mark pause phase of the
+ -- concurrent nonmoving GC.
, nonmoving_gc_sync_cpu_ns :: RtsTime
- -- | The time elapsed during the post-mark pause phase of the concurrent
- -- nonmoving GC.
+ -- | The total time elapsed during the post-mark pause phase of the
+ -- concurrent nonmoving GC.
, nonmoving_gc_sync_elapsed_ns :: RtsTime
- -- | The maximum time elapsed during the post-mark pause phase of the
+ -- | The maximum elapsed length of any post-mark pause phase of the
-- concurrent nonmoving GC.
, nonmoving_gc_sync_max_elapsed_ns :: RtsTime
- -- | The CPU time used during the post-mark pause phase of the concurrent
- -- nonmoving GC.
+ -- | The total CPU time used by the nonmoving GC.
, nonmoving_gc_cpu_ns :: RtsTime
- -- | The time elapsed during the post-mark pause phase of the concurrent
- -- nonmoving GC.
+ -- | The total time elapsed during which there is a nonmoving GC active.
, nonmoving_gc_elapsed_ns :: RtsTime
- -- | The maximum time elapsed during the post-mark pause phase of the
- -- concurrent nonmoving GC.
+ -- | The maximum time elapsed during any nonmoving GC cycle.
, nonmoving_gc_max_elapsed_ns :: RtsTime
-- | Details about the most recent GC