GHC.RTS.Flags

Safe Haskell None
Language Haskell2010

Description

Accessors to GHC RTS flags. Descriptions of flags can be seen in GHC User's Guide, or by running RTS help message using +RTS --help.

Since: base-4.8.0.0

type RtsTime = Word64 Source

RtsTime is defined as a StgWord64 in stg/Types.h

Since: base-4.8.2.0

data RTSFlags Source

Parameters of the runtime system

Since: base-4.8.0.0

Instances
Instances details
Show RTSFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data GiveGCStats Source

Should we produce a summary of the garbage collector statistics after the program has exited?

Since: base-4.8.2.0

data GCFlags Source

Parameters of the garbage collector.

Since: base-4.8.0.0

Instances
Instances details
Show GCFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data ConcFlags Source

Parameters concerning context switching

Since: base-4.8.0.0

Constructors

ConcFlags
Instances
Instances details
Show ConcFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data MiscFlags Source

Miscellaneous parameters

Since: base-4.8.0.0

Instances
Instances details
Show MiscFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data DebugFlags Source

Flags to control debugging output & extra checking in various subsystems.

Since: base-4.8.0.0

Constructors

DebugFlags

Fields

Instances
Instances details
Show DebugFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data DoCostCentres Source

Should the RTS produce a cost-center summary?

Since: base-4.8.2.0

data CCFlags Source

Parameters pertaining to the cost-center profiler.

Since: base-4.8.0.0

Instances
Instances details
Show CCFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data DoHeapProfile Source

What sort of heap profile are we collecting?

Since: base-4.8.2.0

data ProfFlags Source

Parameters of the cost-center profiler

Since: base-4.8.0.0

Instances
Instances details
Show ProfFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data DoTrace Source

Is event tracing enabled?

Since: base-4.8.2.0

Constructors

TraceNone

no tracing

TraceEventLog

send tracing events to the event log

TraceStderr

send tracing events to stderr

Instances
Instances details
Enum DoTrace

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

Show DoTrace

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data TraceFlags Source

Parameters pertaining to event tracing

Since: base-4.8.0.0

Constructors

TraceFlags

Fields

Instances
Instances details
Show TraceFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data TickyFlags Source

Parameters pertaining to ticky-ticky profiler

Since: base-4.8.0.0

Instances
Instances details
Show TickyFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

data ParFlags Source

Parameters pertaining to parallelism

Since: base-4.8.0.0

Instances
Instances details
Show ParFlags

Since: base-4.8.0.0

Instance details

Defined in GHC.RTS.Flags

getRTSFlags :: IO RTSFlags Source

getGCFlags :: IO GCFlags Source

getConcFlags :: IO ConcFlags Source

getMiscFlags :: IO MiscFlags Source

getDebugFlags :: IO DebugFlags Source

getCCFlags :: IO CCFlags Source

getProfFlags :: IO ProfFlags Source

getTraceFlags :: IO TraceFlags Source

getTickyFlags :: IO TickyFlags Source

getParFlags :: IO ParFlags Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/base-4.14.1.0/GHC-RTS-Flags.html