Stats module:GHC

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. The API of this module is unstable and is tightly coupled to GHC's internals. If depend on it, make sure to use a tight upper bound, e.g., base < 4.X rather than base < 5, because the interface can change rapidly without much warning.
Carries interesting info for debugging / profiling of the graph coloring register allocator.
Functions to computing the statistics reflective of the "size" of a Core expression
Statistics for per-module compilations (c) The GRASP/AQUA Project, Glasgow University, 1993-1998
TextShow instance for GCStats. Since: 2
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. The API of this module is unstable and is tightly coupled to GHC's internals. If depend on it, make sure to use a tight upper bound, e.g., base < 4.X rather than base < 5, because the interface can change rapidly without much warning.
Should we produce a summary of the garbage collector statistics after the program has exited?
Statistics about runtime activity since the start of the program. This is a mirror of the C struct RTSStats in RtsAPI.h
Get current runtime system statistics.
Returns whether GC stats have been enabled (with +RTS -T, for example).