summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Camarasu <teofilcamarasu@gmail.com>2023-02-01 10:24:19 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-01 17:44:00 -0500
commit354aa47d313113855aff9e5c5476fcb56f80e3bf (patch)
tree5856edff10ba8f0a986a66c1c1cda607c2081ba6
parent083e26ed6364e444b41e6693410cb549b188da38 (diff)
downloadhaskell-354aa47d313113855aff9e5c5476fcb56f80e3bf.tar.gz
doc: fix gcdetails_block_fragmentation_bytes since annotation
-rw-r--r--libraries/base/GHC/Stats.hsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/base/GHC/Stats.hsc b/libraries/base/GHC/Stats.hsc
index 08e973b213..27ac5ca8c6 100644
--- a/libraries/base/GHC/Stats.hsc
+++ b/libraries/base/GHC/Stats.hsc
@@ -162,7 +162,8 @@ data GCDetails = GCDetails {
-- | The amount of memory lost due to block fragmentation in bytes.
-- Block fragmentation is the difference between the amount of blocks retained by the RTS and the blocks that are in use.
-- This occurs when megablocks are only sparsely used, eg, when data that cannot be moved retains a megablock.
- -- @since 4.17.0.0
+ --
+ -- @since 4.18.0.0
, gcdetails_block_fragmentation_bytes :: Word64
-- | The time elapsed during synchronisation before GC
, gcdetails_sync_elapsed_ns :: RtsTime