On this page
GHC.RTS.Flags
Safe Haskell | Safe-Inferred |
---|---|
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
Instances
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
Generic ConcFlags Source | |
Show ConcFlags Source | Since: base-4.8.0.0 |
type Rep ConcFlags Source | Since: base-4.15.0.0 |
Defined in GHC.RTS.Flags
type Rep ConcFlags = D1 ('MetaData "ConcFlags" "GHC.RTS.Flags" "base" '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
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
data DoCostCentres Source
Should the RTS produce a cost-center summary?
Since: base-4.8.2.0
Instances
Parameters pertaining to the cost-center profiler.
Since: base-4.8.0.0
Constructors
CCFlags | |
Fields |
Instances
Generic CCFlags Source | |
Show CCFlags Source | Since: base-4.8.0.0 |
type Rep CCFlags Source | Since: base-4.15.0.0 |
Defined in GHC.RTS.Flags
type Rep CCFlags = D1 ('MetaData "CCFlags" "GHC.RTS.Flags" "base" '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))))
|
data DoHeapProfile Source
What sort of heap profile are we collecting?
Since: base-4.8.2.0
Constructors
Instances
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 Source | 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 |
|
Generic DoTrace Source | |
Show DoTrace Source | Since: base-4.8.0.0 |
type Rep DoTrace Source | Since: base-4.15.0.0 |
Defined in GHC.RTS.Flags |
data TraceFlags Source
Parameters pertaining to event tracing
Since: base-4.8.0.0
Constructors
TraceFlags | |
Fields
|
Instances
data TickyFlags Source
Parameters pertaining to ticky-ticky profiler
Since: base-4.8.0.0
Constructors
TickyFlags | |
Fields
|
Instances
Generic TickyFlags Source | |
Defined in GHC.RTS.Flags Associated Typestype Rep TickyFlags :: Type -> Type Source |
|
Show TickyFlags Source | Since: base-4.8.0.0 |
Defined in GHC.RTS.Flags MethodsshowsPrec :: Int -> TickyFlags -> ShowS Source show :: TickyFlags -> String Source showList :: [TickyFlags] -> ShowS Source |
|
type Rep TickyFlags Source | Since: base-4.15.0.0 |
Defined in GHC.RTS.Flags
type Rep TickyFlags = D1 ('MetaData "TickyFlags" "GHC.RTS.Flags" "base" '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
Since: base-4.8.0.0
Constructors
ParFlags | |
Fields
|
Instances
data IoSubSystem Source
The I/O SubSystem to use in the program.
Since: base-4.9.0.0
Constructors
Instances
getRTSFlags :: IO RTSFlags Source
getGCFlags :: IO GCFlags Source
getConcFlags :: IO ConcFlags Source
getMiscFlags :: IO MiscFlags Source
getIoManagerFlag :: IO IoSubSystem Source
Needed to optimize support for different IO Managers on Windows. See Note [The need for getIoManagerFlag]
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/9.4.2/docs/libraries/base-4.17.0.0/GHC-RTS-Flags.html