| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
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
Time 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
| RTSFlags | |
Fields | |
data GiveGCStats Source
Should we produce a summary of the garbage collector statistics after the program has exited?
Since: base-4.8.2.0
| NoGCStats | |
| CollectGCStats | |
| OneLineGCStats | |
| SummaryGCStats | |
| VerboseGCStats |
| 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
| GCFlags | |
Fields
| |
Parameters concerning context switching
Since: base-4.8.0.0
| ConcFlags | |
Fields | |
Miscellaneous parameters
Since: base-4.8.0.0
| MiscFlags | |
Fields
| |
data DebugFlags Source
Flags to control debugging output & extra checking in various subsystems.
Since: base-4.8.0.0
| DebugFlags | |
Fields
| |
| 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
| 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
| CCFlags | |
Fields | |
data DoHeapProfile Source
What sort of heap profile are we collecting?
Since: base-4.8.2.0
| NoHeapProfiling | |
| HeapByCCS | |
| HeapByMod | |
| HeapByDescr | |
| HeapByType | |
| HeapByRetainer | |
| HeapByLDV | |
| HeapByClosureType |
| 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
| ProfFlags | |
Fields
| |
Is event tracing enabled?
Since: base-4.8.2.0
| TraceNone | no tracing |
| TraceEventLog | send tracing events to the event log |
| TraceStderr | send tracing events to |
| 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
| TraceFlags | |
Fields
| |
| 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
| TickyFlags | |
Fields
| |
| 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
| ParFlags | |
Fields
| |
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.6.1/docs/html/libraries/base-4.12.0.0/GHC-RTS-Flags.html