
#11603: Fix/clarify documentation in GHC.Stats -------------------------------------+------------------------------------- Reporter: dcturner | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Core | Version: 8.1 Libraries | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Documentation Unknown/Multiple | bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The following were not clear to me until I read the source: `numByteUsageSamples` is (also) the number of major GCs performed. `currentBytesUsed` is the number of live bytes ''at the end of the last major GC''. Is `currentBytesSlop` also at the end of the last major GC? Can't see that it's actually set to anything nonzero anywhere... The comments for `cumulativeBytesUsed` and `parTotBytesCopied` are in the wrong places. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11603 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler