pub enum HandoffStage {
IdleEpisode,
PollWork,
PollControl,
PollExhausted,
IdlePublication,
WaitApi,
NativeWait,
WakePublication,
ClaimFinish,
ChannelLock,
ChannelHeld,
}Expand description
A measured region, not a disjoint CPU-time category. Nested regions overlap; elapsed time includes preemption and must not be summed as CPU consumption.
Variants§
IdleEpisode
Complete idle-driver invocation, including completion flushing and observation.
PollWork
Polling that ends with a visible start or wake, not proof of a valid dispatch.
PollControl
Polling that ends with a changed control epoch but no observed task work.
PollExhausted
Polling that exhausts the unchanged bounded probe budget.
IdlePublication
Idle snapshot publication before the wait API, including capacity scans.
WaitApi
Predicate-backed wait API, including locking, arming and any native waits.
NativeWait
A condition-variable invocation including reacquisition of its native lock. This does not prove that the OS descheduled the thread.
WakePublication
Selected wait claim through route publication and final claim publication.
ClaimFinish
A finish path that observed a claim/binding phase, through its exit.
ChannelLock
Acquisition of the channel metadata lock, excluding its held section.
ChannelHeld
Channel metadata critical section, excluding unlock and lock acquisition.