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 RTSFlags Source

Constructors

Instances

data GCFlags Source

Constructors

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

Instances

data MiscFlags Source

Constructors

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

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

Instances

data CCFlags Source

Constructors

Fields

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

Instances

data ProfFlags Source

Constructors

Instances

data TraceFlags Source

Constructors

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)

Instances

data TickyFlags Source

Constructors

Instances

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

AltStyle によって変換されたページ (->オリジナル) /