| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
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
- type RtsTime = Word64
- type RtsNat = Word32
- data RTSFlags = RTSFlags {}
- data GiveGCStats
- data GCFlags = GCFlags {- statsFile :: Maybe FilePath
- giveStats :: GiveGCStats
- maxStkSize :: RtsNat
- initialStkSize :: RtsNat
- stkChunkSize :: RtsNat
- stkChunkBufferSize :: RtsNat
- maxHeapSize :: RtsNat
- minAllocAreaSize :: RtsNat
- minOldGenSize :: RtsNat
- heapSizeSuggestion :: RtsNat
- heapSizeSuggestionAuto :: Bool
- oldGenFactor :: Double
- pcFreeHeap :: Double
- generations :: RtsNat
- steps :: RtsNat
- squeezeUpdFrames :: Bool
- compact :: Bool
- compactThreshold :: Double
- sweep :: Bool
- ringBell :: Bool
- frontpanel :: Bool
- idleGCDelayTime :: RtsTime
- doIdleGC :: Bool
- heapBase :: Word
- allocLimitGrace :: Word
 
- data ConcFlags = ConcFlags {}
- data MiscFlags = MiscFlags {}
- data DebugFlags = DebugFlags {}
- data DoCostCentres
- data CCFlags = CCFlags {}
- data DoHeapProfile
- data ProfFlags = ProfFlags {- doHeapProfile :: DoHeapProfile
- heapProfileInterval :: RtsTime
- heapProfileIntervalTicks :: Word
- includeTSOs :: Bool
- showCCSOnException :: Bool
- maxRetainerSetSize :: Word
- ccsLength :: Word
- modSelector :: Maybe String
- descrSelector :: Maybe String
- typeSelector :: Maybe String
- ccSelector :: Maybe String
- ccsSelector :: Maybe String
- retainerSelector :: Maybe String
- bioSelector :: Maybe String
 
- data DoTrace
- data TraceFlags = TraceFlags {- tracing :: DoTrace
- timestamp :: Bool
- traceScheduler :: Bool
- traceGc :: Bool
- sparksSampled :: Bool
- sparksFull :: Bool
- user :: Bool
 
- data TickyFlags = TickyFlags {}
- getRTSFlags :: IO RTSFlags
- getGCFlags :: IO GCFlags
- getConcFlags :: IO ConcFlags
- getMiscFlags :: IO MiscFlags
- getDebugFlags :: IO DebugFlags
- getCCFlags :: IO CCFlags
- getProfFlags :: IO ProfFlags
- getTraceFlags :: IO TraceFlags
- getTickyFlags :: IO TickyFlags
Documentation
Parameters of the runtime system
Since: 4.8.0.0
Constructors
| RTSFlags | |
| Fields | |
data GiveGCStats Source
Should we produce a summary of the garbage collector statistics after the program has exited?
Since: 4.8.2.0
Instances
Parameters of the garbage collector.
Since: 4.8.0.0
Constructors
| GCFlags | |
| Fields 
 | |
Parameters concerning context switching
Since: 4.8.0.0
Constructors
| ConcFlags | |
| Fields | |
Miscellaneous parameters
Since: 4.8.0.0
Constructors
| MiscFlags | |
| Fields 
 | |
data DebugFlags Source
Flags to control debugging output & extra checking in various subsystems.
Since: 4.8.0.0
Constructors
| DebugFlags | |
Instances
Parameters pertaining to the cost-center profiler.
Since: 4.8.0.0
Constructors
| CCFlags | |
| Fields | |
data DoHeapProfile Source
What sort of heap profile are we collecting?
Since: 4.8.2.0
Constructors
| NoHeapProfiling | |
| HeapByCCS | |
| HeapByMod | |
| HeapByDescr | |
| HeapByType | |
| HeapByRetainer | |
| HeapByLDV | |
| HeapByClosureType | 
Instances
Parameters of the cost-center profiler
Since: 4.8.0.0
Constructors
| ProfFlags | |
| Fields 
 | |
Is event tracing enabled?
Since: 4.8.2.0
Constructors
| TraceNone | no tracing | 
| TraceEventLog | send tracing events to the event log | 
| TraceStderr | send tracing events to  | 
data TraceFlags Source
Parameters pertaining to event tracing
Since: 4.8.0.0
Constructors
| TraceFlags | |
| Fields 
 | |
Instances
data TickyFlags Source
Parameters pertaining to ticky-ticky profiler
Since: 4.8.0.0
Constructors
| TickyFlags | |
| Fields 
 | |
Instances