RtsTime is defined as a StgWord64 in stg/Types.h
Modulebase-4.20.2.0Haskell2010
GHC.RTS.Flags
The API of this module is unstable and is tightly coupled to GHC's internals.
If depend on it, make sure to use a tight upper bound, e.g., base < 4.X rather
than base < 5, because the interface can change rapidly without much warning.
Descriptions of flags can be seen in
GHC User's Guide,
or by running RTS help message using +RTS --help.
- 17 types
- 12 values
- Packagebase-4.20.2.0
- Exports29
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFlags.hs
Parameters of the runtime system
Constructors
Instances3Show, Generic, Rep
Show RTSFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric RTSFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep RTSFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"RTSFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"RTSFlags"
'PrefixI 'True) (((S1 ('MetaSel ('Just"gcFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GCFlags) :*: S1 ('MetaSel ('Just"concurrentFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConcFlags)) :*: (S1 ('MetaSel ('Just"miscFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MiscFlags) :*: (S1 ('MetaSel ('Just"debugFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DebugFlags) :*: S1 ('MetaSel ('Just"costCentreFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CCFlags)))) :*: ((S1 ('MetaSel ('Just"profilingFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProfFlags) :*: S1 ('MetaSel ('Just"traceFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TraceFlags)) :*: (S1 ('MetaSel ('Just"tickyFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TickyFlags) :*: (S1 ('MetaSel ('Just"parFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ParFlags) :*: S1 ('MetaSel ('Just"hpcFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HpcFlags))))))
Should we produce a summary of the garbage collector statistics after the program has exited?
Instances4Enum, Show, Generic, Rep
Enum GiveGCStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsShow GiveGCStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric GiveGCStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep GiveGCStats = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"GiveGCStats"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) ((C1 ('MetaCons"NoGCStats"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CollectGCStats"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"OneLineGCStats"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"SummaryGCStats"
'PrefixI 'False) U1 :+: C1 ('MetaCons"VerboseGCStats"
'PrefixI 'False) U1)))
Parameters of the garbage collector.
Constructors
GCFlagsstatsFile :: Maybe FilePathgiveStats :: GiveGCStatsmaxStkSize :: Word32initialStkSize :: Word32stkChunkSize :: Word32stkChunkBufferSize :: Word32maxHeapSize :: Word32minAllocAreaSize :: Word32largeAllocLim :: Word32nurseryChunkSize :: Word32minOldGenSize :: Word32heapSizeSuggestion :: Word32heapSizeSuggestionAuto :: BoololdGenFactor :: DoublereturnDecayFactor :: DoublepcFreeHeap :: Doublegenerations :: Word32squeezeUpdFrames :: Boolcompact :: BoolTrue = "compact all the time"
compactThreshold :: Doublesweep :: Booluse "mostly mark-sweep" instead of copying for the oldest generation
ringBell :: BoolidleGCDelayTime :: RtsTimedoIdleGC :: BoolheapBase :: Wordaddress to ask the OS for memory
allocLimitGrace :: Wordnuma :: BoolnumaMask :: Word
Instances3Show, Generic, Rep
Show GCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric GCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep GCFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"GCFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"GCFlags"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"statsFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath)) :*: (S1 ('MetaSel ('Just"giveStats"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GiveGCStats) :*: S1 ('MetaSel ('Just"maxStkSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just"initialStkSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"stkChunkSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just"stkChunkBufferSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"maxHeapSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))) :*: ((S1 ('MetaSel ('Just"minAllocAreaSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: (S1 ('MetaSel ('Just"largeAllocLim"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"nurseryChunkSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just"minOldGenSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"heapSizeSuggestion"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just"heapSizeSuggestionAuto"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"oldGenFactor"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))))) :*: (((S1 ('MetaSel ('Just"returnDecayFactor"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just"pcFreeHeap"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just"generations"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) :*: ((S1 ('MetaSel ('Just"squeezeUpdFrames"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"compact"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"compactThreshold"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just"sweep"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just"ringBell"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"idleGCDelayTime"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RtsTime) :*: S1 ('MetaSel ('Just"doIdleGC"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"heapBase"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: S1 ('MetaSel ('Just"allocLimitGrace"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)) :*: (S1 ('MetaSel ('Just"numa"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"numaMask"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))))))
Parameters concerning context switching
Constructors
Instances3Show, Generic, Rep
Show ConcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ConcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep ConcFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"ConcFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"ConcFlags"
'PrefixI 'True) (S1 ('MetaSel ('Just"ctxtSwitchTime"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RtsTime) :*: S1 ('MetaSel ('Just"ctxtSwitchTicks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
Miscellaneous parameters
Constructors
MiscFlagstickInterval :: RtsTimeinstallSignalHandlers :: BoolinstallSEHHandlers :: BoolgenerateCrashDumpFile :: BoolgenerateStackTrace :: BoolmachineReadable :: BooldisableDelayedOsMemoryReturn :: BoolinternalCounters :: BoollinkerAlwaysPic :: BoollinkerMemBase :: Wordaddress to ask the OS for memory for the linker, 0 ==> off
ioManager :: IoSubSystemnumIoWorkerThreads :: Word32
Instances3Show, Generic, Rep
Show MiscFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric MiscFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep MiscFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"MiscFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"MiscFlags"
'PrefixI 'True) (((S1 ('MetaSel ('Just"tickInterval"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RtsTime) :*: (S1 ('MetaSel ('Just"installSignalHandlers"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"installSEHHandlers"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just"generateCrashDumpFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"generateStackTrace"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"machineReadable"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just"disableDelayedOsMemoryReturn"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"internalCounters"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"linkerAlwaysPic"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just"linkerMemBase"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: (S1 ('MetaSel ('Just"ioManager"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IoSubSystem) :*: S1 ('MetaSel ('Just"numIoWorkerThreads"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))))))
Flags to control debugging output & extra checking in various subsystems.
Constructors
DebugFlagsscheduler :: Boolsinterpreter :: Booliweak :: Boolwgccafs :: BoolGgc :: Boolgnonmoving_gc :: Boolnblock_alloc :: Boolbsanity :: BoolSstable :: Booltprof :: Boolplinker :: Boollthe object linkerapply :: Boolastm :: Boolmsqueeze :: Boolzstack squeezing & lazy blackholinghpc :: Boolccoveragesparks :: Boolr
Instances3Show, Generic, Rep
Show DebugFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DebugFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep DebugFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"DebugFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"DebugFlags"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"scheduler"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"interpreter"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"weak"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"gccafs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"gc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"nonmoving_gc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"block_alloc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"sanity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: (((S1 ('MetaSel ('Just"stable"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"prof"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"linker"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"apply"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"stm"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"squeeze"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"hpc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"sparks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))
Should the RTS produce a cost-center summary?
Instances4Enum, Show, Generic, Rep
Enum DoCostCentresDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsShow DoCostCentresDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoCostCentresDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep DoCostCentres = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"DoCostCentres"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) ((C1 ('MetaCons"CostCentresNone"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CostCentresSummary"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"CostCentresVerbose"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"CostCentresAll"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CostCentresJSON"
'PrefixI 'False) U1)))
Parameters pertaining to the cost-center profiler.
Constructors
Instances3Show, Generic, Rep
Show CCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric CCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep CCFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"CCFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"CCFlags"
'PrefixI 'True) (S1 ('MetaSel ('Just"doCostCentres"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DoCostCentres) :*: (S1 ('MetaSel ('Just"profilerTicks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"msecsPerTick"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))
What sort of heap profile are we collecting?
Instances4Enum, Show, Generic, Rep
Enum DoHeapProfileDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsShow DoHeapProfileDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoHeapProfileDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep DoHeapProfile = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"DoHeapProfile"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (((C1 ('MetaCons"NoHeapProfiling"
'PrefixI 'False) U1 :+: C1 ('MetaCons"HeapByCCS"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"HeapByMod"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"HeapByDescr"
'PrefixI 'False) U1 :+: C1 ('MetaCons"HeapByType"
'PrefixI 'False) U1))) :+: ((C1 ('MetaCons"HeapByRetainer"
'PrefixI 'False) U1 :+: C1 ('MetaCons"HeapByLDV"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"HeapByClosureType"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"HeapByInfoTable"
'PrefixI 'False) U1 :+: C1 ('MetaCons"HeapByEra"
'PrefixI 'False) U1))))
Parameters of the cost-center profiler
Constructors
ProfFlagsdoHeapProfile :: DoHeapProfileheapProfileInterval :: RtsTimetime between samples
heapProfileIntervalTicks :: Wordticks between samples (derived)
startHeapProfileAtStartup :: BoolstartTimeProfileAtStartup :: BoolshowCCSOnException :: BoolautomaticEraIncrement :: BoolmaxRetainerSetSize :: WordccsLength :: WordmodSelector :: Maybe StringdescrSelector :: Maybe StringtypeSelector :: Maybe StringccSelector :: Maybe StringccsSelector :: Maybe StringretainerSelector :: Maybe StringbioSelector :: Maybe StringeraSelector :: Word
Instances3Show, Generic, Rep
Show ProfFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ProfFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep ProfFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"ProfFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"ProfFlags"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"doHeapProfile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DoHeapProfile) :*: S1 ('MetaSel ('Just"heapProfileInterval"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RtsTime)) :*: (S1 ('MetaSel ('Just"heapProfileIntervalTicks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: S1 ('MetaSel ('Just"startHeapProfileAtStartup"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"startTimeProfileAtStartup"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"showCCSOnException"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"automaticEraIncrement"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"maxRetainerSetSize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))) :*: (((S1 ('MetaSel ('Just"ccsLength"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: S1 ('MetaSel ('Just"modSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))) :*: (S1 ('MetaSel ('Just"descrSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just"typeSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) :*: ((S1 ('MetaSel ('Just"ccSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just"ccsSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))) :*: (S1 ('MetaSel ('Just"retainerSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just"bioSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just"eraSelector"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))))))
Is event tracing enabled?
Constructors
TraceNoneno tracing
TraceEventLogsend tracing events to the event log
TraceStderrsend tracing events to
stderr
Instances4Enum, Show, Generic, Rep
Enum DoTraceDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsShow DoTraceDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoTraceDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep DoTrace = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"DoTrace"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"TraceNone"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"TraceEventLog"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TraceStderr"
'PrefixI 'False) U1))
Parameters pertaining to event tracing
Constructors
TraceFlagstracing :: DoTracetimestamp :: Boolshow timestamp in stderr output
traceScheduler :: Booltrace scheduler events
traceGc :: Booltrace GC events
traceNonmovingGc :: Booltrace nonmoving GC heap census samples
sparksSampled :: Booltrace spark events by a sampled method
sparksFull :: Booltrace spark events 100% accurately
user :: Booltrace user events (emitted from Haskell code)
Instances3Show, Generic, Rep
Show TraceFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric TraceFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep TraceFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"TraceFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"TraceFlags"
'PrefixI 'True) (((S1 ('MetaSel ('Just"tracing"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DoTrace) :*: S1 ('MetaSel ('Just"timestamp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"traceScheduler"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"traceGc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"traceNonmovingGc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"sparksSampled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"sparksFull"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"user"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))
Parameters pertaining to ticky-ticky profiler
Constructors
Instances3Show, Generic, Rep
Show TickyFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric TickyFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep TickyFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"TickyFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"TickyFlags"
'PrefixI 'True) (S1 ('MetaSel ('Just"showTickyStats"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"tickyFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath))))
Parameters pertaining to parallelism
Constructors
Instances3Show, Generic, Rep
Show ParFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ParFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep ParFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"ParFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"ParFlags"
'PrefixI 'True) (((S1 ('MetaSel ('Just"nCapabilities"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"migrate"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"maxLocalSparks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: (S1 ('MetaSel ('Just"parGcEnabled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"parGcGen"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))) :*: ((S1 ('MetaSel ('Just"parGcLoadBalancingEnabled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"parGcLoadBalancingGen"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just"parGcNoSyncWithIdle"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: (S1 ('MetaSel ('Just"parGcThreads"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just"setAffinity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))
Parameters pertaining to Haskell program coverage (HPC)
Constructors
HpcFlagswriteTixFile :: BoolControls whether the
program.tixfile should be written after the execution of the program.
Instances3Show, Generic, Rep
Show HpcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric HpcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flagstype Rep HpcFlags = D1 ('MetaDataDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags"HpcFlags"
"GHC.Internal.RTS.Flags"
"ghc-internal"
'False) (C1 ('MetaCons"HpcFlags"
'PrefixI 'True) (S1 ('MetaSel ('Just"writeTixFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))
The I/O SubSystem to use in the program.
Instances4Enum, Eq, Show, Storable
Enum IoSubSystemDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsEq IoSubSystemDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsShow IoSubSystemDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsStorable IoSubSystemDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
Needed to optimize support for different IO Managers on Windows. See Note [The need for getIoManagerFlag]