virtualService
Deprecated
A Rational read sticks at the ceiling once nothing rebases (design §7.1); read virtualServiceWide(edge), a VirtualTime, instead.
Replace with
virtualServiceWide(edge)Raw virtual service of an edge, design §7.1's b + committedService / weight — read off the replicated Gauge rather than off any field of the record (issue #1752):
grossEv = (P + (baseIssued − folded) · G) / (G · w) (no gauge ⇒ baseIssued / w)
ev = grossEv − returned / wP is the gauge's position in ticks, carried with the issuance the writer had actually observed when it asserted it, so a stale seat is self-limiting rather than a permanent lie; an edge nothing has seated yet reads from its own origin. The numerator stays committed (not merely spent) service, so a grant advances the child the instant it is issued — hoarding is charged — and a return walks it back. On the edge's own grid: whole ticks of its service (TICKS_PER_UNIT), returned as the virtual time they stand for. Only a seat or a wake clamp rounds (design §7.2); this read is exact for every position this module writes.
This is the whole of the policy's virtual-time input. It shares grossVirtualServiceAt with EntitlementLedger.grossVirtualService and with the checkpoint delegate writes, so the value the writer asserted and the value the scheduler reads are one expression.
Held inside the edge's window (#3353): past its ceiling it reads the ceiling, below its floor the floor, so it never throws on a position.