Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
This module provides access to internal garbage collection and memory usage statistics. These statistics are not available unless a program is run with the -T
RTS flag.
This module is GHC-only and should not be considered portable.
Since: 4.5.0.0
Global garbage collection and memory statistics.
Since: 4.5.0.0
GCStats | |
Fields
|
getGCStats :: IO GCStats Source
Retrieves garbage collection and memory statistics as of the last garbage collection. If you would like your statistics as recent as possible, first run a performGC
.
Since: 4.5.0.0
getGCStatsEnabled :: IO Bool Source
Returns whether GC stats have been enabled (with +RTS -T
, for example).
Since: 4.6.0.0
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/base-4.8.2.0/GHC-Stats.html