Movatterモバイル変換


[0]ホーム

URL:


base-4.12.0.0: Basic libraries

Safe HaskellTrustworthy
LanguageHaskell2010

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

Synopsis

Runtime statistics

dataRTSStatsSource#

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

Instances
ReadRTSStatsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

ShowRTSStatsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

dataGCDetailsSource#

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

Instances
ReadGCDetailsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

ShowGCDetailsSource#

Since: 4.10.0.0

Instance details

Defined inGHC.Stats

typeRtsTime =Int64Source#

Time values from the RTS, using a fixed resolution of nanoseconds.

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


[8]ページ先頭

©2009-2025 Movatter.jp