| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Composition.MemoryPlan.Internal
Description
The solver's working records, the vocabulary Ecluse.Composition.MemoryPlan passes between
resolving the tenant demands, walking the shed ladder, and rendering the boot lines. Their
constructors stay out of that module's public contract, so this is the only module exporting them,
for its own cluster and for the specs that build a record directly. Importing it opts out of the
public module's stability promise, as text does.
Synopsis
- data PlanInputs = PlanInputs {}
- data TenantDemands = TenantDemands {
- tdCeiling :: Int
- tdReserve :: Int
- tdFixedBuffers :: Int
- tdPins :: OverridePins
- tdCacheDesired :: Int
- tdCacheEntriesExplicit :: Maybe Int
- tdResponseFinal :: Int
- tdAdmissionDesired :: Int
- tdPublishConfigured :: Bool
- tdPublishDesired :: Int
- tdRequestFinal :: Int
- tdRequestComputed :: Int
- tdDepthDesired :: Int
- tdMemoryBacked :: Bool
- tdMirrors :: Bool
- tdArtifactCapDesired :: Int
- tdMirrorChargeDesired :: Int
- data OverridePins = OverridePins {}
- data ShedOutcomes = ShedOutcomes {}
Documentation
data PlanInputs Source #
Everything resolved before the plan knows whether a heap ceiling exists. The solved path and the fallback path both read it.
Constructors
| PlanInputs | |
Fields | |
data TenantDemands Source #
Every tenant's demand before the shed ladder walks it, resolved from the ceiling: the byte charges, plus the counts, pins, and flags the ladder's steps read.
Constructors
| TenantDemands | |
Fields
| |
data OverridePins Source #
Explicit overrides, each pinned (Just) or substituted out (Nothing), in the plan's
allocation order. A pinned bound never sheds and answers for its own overshoot.
Constructors
| OverridePins | |
Instances
| Show OverridePins Source # | |
Defined in Ecluse.Composition.MemoryPlan.Internal Methods showsPrec :: Int -> OverridePins -> ShowS # show :: OverridePins -> String # showList :: [OverridePins] -> ShowS # | |
| Eq OverridePins Source # | |
Defined in Ecluse.Composition.MemoryPlan.Internal | |
data ShedOutcomes Source #
Every tenant's post-shed value plus the residual overshoot the ladder could not reclaim. The combined invariant is a pure function of this record.
Constructors
| ShedOutcomes | |
Fields
| |