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
RtsTime
is defined as a StgWord64
in stg/Types.h
Since: base-4.8.2.0
Parameters of the runtime system
Since: base-4.8.0.0
Constructors
RTSFlags | |
Fields |
Instances
data GiveGCStats Source
Should we produce a summary of the garbage collector statistics after the program has exited?
Since: base-4.8.2.0
Constructors
NoGCStats | |
CollectGCStats | |
OneLineGCStats | |
SummaryGCStats | |
VerboseGCStats |
Instances
Enum GiveGCStats | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags Methodssucc :: GiveGCStats -> GiveGCStats Source pred :: GiveGCStats -> GiveGCStats Source toEnum :: Int -> GiveGCStats Source fromEnum :: GiveGCStats -> Int Source enumFrom :: GiveGCStats -> [GiveGCStats] Source enumFromThen :: GiveGCStats -> GiveGCStats -> [GiveGCStats] Source enumFromTo :: GiveGCStats -> GiveGCStats -> [GiveGCStats] Source enumFromThenTo :: GiveGCStats -> GiveGCStats -> GiveGCStats -> [GiveGCStats] Source | |
Show GiveGCStats | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> GiveGCStats -> ShowS Source show :: GiveGCStats -> String Source showList :: [GiveGCStats] -> ShowS Source |
Parameters of the garbage collector.
Since: base-4.8.0.0
Constructors
GCFlags | |
Fields
|
Instances
Parameters concerning context switching
Since: base-4.8.0.0
Constructors
ConcFlags | |
Fields |
Instances
Miscellaneous parameters
Since: base-4.8.0.0
Constructors
MiscFlags | |
Fields
|
Instances
data DebugFlags Source
Flags to control debugging output & extra checking in various subsystems.
Since: base-4.8.0.0
Constructors
DebugFlags | |
Fields
|
Instances
Show DebugFlags | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> DebugFlags -> ShowS Source show :: DebugFlags -> String Source showList :: [DebugFlags] -> ShowS Source |
data DoCostCentres Source
Should the RTS produce a cost-center summary?
Since: base-4.8.2.0
Instances
Enum DoCostCentres | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags Methodssucc :: DoCostCentres -> DoCostCentres Source pred :: DoCostCentres -> DoCostCentres Source toEnum :: Int -> DoCostCentres Source fromEnum :: DoCostCentres -> Int Source enumFrom :: DoCostCentres -> [DoCostCentres] Source enumFromThen :: DoCostCentres -> DoCostCentres -> [DoCostCentres] Source enumFromTo :: DoCostCentres -> DoCostCentres -> [DoCostCentres] Source enumFromThenTo :: DoCostCentres -> DoCostCentres -> DoCostCentres -> [DoCostCentres] Source | |
Show DoCostCentres | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> DoCostCentres -> ShowS Source show :: DoCostCentres -> String Source showList :: [DoCostCentres] -> ShowS Source |
Parameters pertaining to the cost-center profiler.
Since: base-4.8.0.0
Constructors
CCFlags | |
Fields |
Instances
data DoHeapProfile Source
What sort of heap profile are we collecting?
Since: base-4.8.2.0
Constructors
NoHeapProfiling | |
HeapByCCS | |
HeapByMod | |
HeapByDescr | |
HeapByType | |
HeapByRetainer | |
HeapByLDV | |
HeapByClosureType |
Instances
Enum DoHeapProfile | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags Methodssucc :: DoHeapProfile -> DoHeapProfile Source pred :: DoHeapProfile -> DoHeapProfile Source toEnum :: Int -> DoHeapProfile Source fromEnum :: DoHeapProfile -> Int Source enumFrom :: DoHeapProfile -> [DoHeapProfile] Source enumFromThen :: DoHeapProfile -> DoHeapProfile -> [DoHeapProfile] Source enumFromTo :: DoHeapProfile -> DoHeapProfile -> [DoHeapProfile] Source enumFromThenTo :: DoHeapProfile -> DoHeapProfile -> DoHeapProfile -> [DoHeapProfile] Source | |
Show DoHeapProfile | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> DoHeapProfile -> ShowS Source show :: DoHeapProfile -> String Source showList :: [DoHeapProfile] -> ShowS Source |
Parameters of the cost-center profiler
Since: base-4.8.0.0
Constructors
ProfFlags | |
Fields
|
Instances
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 |
Instances
Enum DoTrace | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags Methodssucc :: DoTrace -> DoTrace Source pred :: DoTrace -> DoTrace Source toEnum :: Int -> DoTrace Source fromEnum :: DoTrace -> Int Source enumFrom :: DoTrace -> [DoTrace] Source enumFromThen :: DoTrace -> DoTrace -> [DoTrace] Source enumFromTo :: DoTrace -> DoTrace -> [DoTrace] Source enumFromThenTo :: DoTrace -> DoTrace -> DoTrace -> [DoTrace] Source | |
Show DoTrace | Since: base-4.8.0.0 |
data TraceFlags Source
Parameters pertaining to event tracing
Since: base-4.8.0.0
Constructors
TraceFlags | |
Fields
|
Instances
Show TraceFlags | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> TraceFlags -> ShowS Source show :: TraceFlags -> String Source showList :: [TraceFlags] -> ShowS Source |
data TickyFlags Source
Parameters pertaining to ticky-ticky profiler
Since: base-4.8.0.0
Constructors
TickyFlags | |
Fields
|
Instances
Show TickyFlags | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> TickyFlags -> ShowS Source show :: TickyFlags -> String Source showList :: [TickyFlags] -> ShowS Source |
Parameters pertaining to parallelism
Since: base-4.8.0.0
Constructors
ParFlags | |
Fields
|
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
© 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