summaryrefslogtreecommitdiff
path: root/rts/include/RtsAPI.h
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-05-17 21:58:23 -0400
committerBen Gamari <ben@smart-cactus.org>2022-05-17 21:59:12 -0400
commit566414b6d72eaea4e1fde8625eca631bcd50b082 (patch)
tree72a8716c9804deed69e3ff32d57a666e6930e5a8 /rts/include/RtsAPI.h
parent0e2d16eb76037152c96226f0f65a5ebdee64f7b6 (diff)
downloadhaskell-wip/T21553.tar.gz
nonmoving: Fix documentation of GC statistics fieldswip/T21553
These were previously incorrect. Fixes #21553.
Diffstat (limited to 'rts/include/RtsAPI.h')
-rw-r--r--rts/include/RtsAPI.h23
1 files changed, 9 insertions, 14 deletions
diff --git a/rts/include/RtsAPI.h b/rts/include/RtsAPI.h
index e2d1845819..b6ea88623c 100644
--- a/rts/include/RtsAPI.h
+++ b/rts/include/RtsAPI.h
@@ -176,11 +176,9 @@ typedef struct GCDetails_ {
// The time elapsed during the post-mark pause phase of the concurrent
// nonmoving GC.
Time nonmoving_gc_sync_elapsed_ns;
- // The CPU time used during the post-mark pause phase of the concurrent
- // nonmoving GC.
+ // The total CPU time used by the nonmoving GC.
Time nonmoving_gc_cpu_ns;
- // 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.
Time nonmoving_gc_elapsed_ns;
} GCDetails;
@@ -261,23 +259,20 @@ typedef struct _RTSStats {
// ----------------------------------
// Concurrent garbage collector
- // 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.
Time nonmoving_gc_sync_cpu_ns;
- // 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.
Time nonmoving_gc_sync_elapsed_ns;
// The maximum time elapsed during the post-mark pause phase of the
// concurrent nonmoving GC.
Time nonmoving_gc_sync_max_elapsed_ns;
- // The CPU time used during the post-mark pause phase of the concurrent
- // nonmoving GC.
+ // The total CPU time used by the nonmoving GC.
Time nonmoving_gc_cpu_ns;
- // 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.
Time nonmoving_gc_elapsed_ns;
- // The maximum time elapsed during the post-mark pause phase of the
- // concurrent nonmoving GC.
+ // The maximum time elapsed during any nonmoving GC cycle.
Time nonmoving_gc_max_elapsed_ns;
} RTSStats;