base-4.8.0.0: Basic libraries

Safe HaskellNone
LanguageHaskell2010

GHC.RTS.Flags

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: 4.8.0.0

Synopsis

Documentation

data GCFlags Source

Constructors

GCFlags 

Fields

statsFile :: Maybe FilePath
 
giveStats :: GiveGCStats
 
maxStkSize :: Nat
 
initialStkSize :: Nat
 
stkChunkSize :: Nat
 
stkChunkBufferSize :: Nat
 
maxHeapSize :: Nat
 
minAllocAreaSize :: Nat
 
minOldGenSize :: Nat
 
heapSizeSuggestion :: Nat
 
heapSizeSuggestionAuto :: Bool
 
oldGenFactor :: Double
 
pcFreeHeap :: Double
 
generations :: Nat
 
steps :: Nat
 
squeezeUpdFrames :: Bool
 
compact :: Bool

True = "compact all the time"

compactThreshold :: Double
 
sweep :: Bool

use "mostly mark-sweep" instead of copying for the oldest generation

ringBell :: Bool
 
frontpanel :: Bool
 
idleGCDelayTime :: Time
 
doIdleGC :: Bool
 
heapBase :: Word

address to ask the OS for memory

allocLimitGrace :: Word
 

Instances

data ConcFlags Source

Constructors

ConcFlags 

Fields

ctxtSwitchTime :: Time
 
ctxtSwitchTicks :: Int
 

Instances

data MiscFlags Source

Constructors

MiscFlags 

Fields

tickInterval :: Time
 
installSignalHandlers :: Bool
 
machineReadable :: Bool
 
linkerMemBase :: Word

address to ask the OS for memory for the linker, 0 ==> off

Instances

data DebugFlags Source

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

Constructors

DebugFlags 

Fields

scheduler :: Bool

s

interpreter :: Bool

i

weak :: Bool

w

gccafs :: Bool

G

gc :: Bool

g

block_alloc :: Bool

b

sanity :: Bool

S

stable :: Bool

t

prof :: Bool

p

linker :: Bool

l the object linker

apply :: Bool

a

stm :: Bool

m

squeeze :: Bool

z stack squeezing & lazy blackholing

hpc :: Bool

c coverage

sparks :: Bool

r

data CCFlags Source

Constructors

CCFlags 

Fields

doCostCentres :: DoCostCentres
 
profilerTicks :: Int
 
msecsPerTick :: Int
 

Instances

data TraceFlags Source

Constructors

TraceFlags 

Fields

tracing :: DoTrace
 
timestamp :: Bool

show timestamp in stderr output

traceScheduler :: Bool

trace scheduler events

traceGc :: Bool

trace GC events

sparksSampled :: Bool

trace spark events by a sampled method

sparksFull :: Bool

trace spark events 100% accurately

user :: Bool

trace user events (emitted from Haskell code)