| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
GHC.Stats
Contents
Description
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
Statistics about runtime activity since the start of the program. This is a mirror of the Cstruct RTSStats inRtsAPI.h
Since: 4.10.0.0
Constructors
| RTSStats | |
Fields
| |
Statistics about a single GC. This is a mirror of the Cstruct GCDetails inRtsAPI.h, with the field prefixed withgc_ to avoid collisions withRTSStats.
Constructors
| GCDetails | |
Fields
| |
getRTSStats ::IORTSStatsSource#
Get current runtime system statistics.
Since: 4.10.0.0
getRTSStatsEnabled ::IOBoolSource#
Returns whether GC stats have been enabled (with+RTS -T, for example).
Since: 4.10.0.0
Produced byHaddock version 2.20.0