Skip to content

GHC.Stats has wrong docstring for some nonmoving gc metrics

Some of the metrics bear the same docstring in the nonmoving gc time metrics in GHC.Stats. I feel like they must've been copy and pasted without the docstring being updated.

    -- | The 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.
  , nonmoving_gc_sync_elapsed_ns :: RtsTime
    -- | The maximum time elapsed during the 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.
  , nonmoving_gc_cpu_ns :: RtsTime
    -- | The time elapsed during the post-mark pause phase of the concurrent
    -- nonmoving GC.
  , nonmoving_gc_elapsed_ns :: RtsTime
    -- | The maximum time elapsed during the post-mark pause phase of the
    -- concurrent nonmoving GC.
  , nonmoving_gc_max_elapsed_ns :: RtsTime
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information