Expand description
Pinned CPU capabilities and scheduler observations.
Structs§
- CpuLoad
Summary - Allocation-free lockless hints used by remote placement and balancing.
- CpuLocal
- Scheduler state that is created explicitly and mutated only by its owner CPU.
- CpuLocal
Owner Borrow - Exclusive owner borrow of one pinned
CpuLocal. - CpuRemote
- Stable cross-CPU publication endpoint for one scheduler owner.
- CpuRemote
Handle - Opaque pointer-sized handle to one Arc-backed remote CPU endpoint.
- CpuSnapshot
- Stable, allocation-free scheduler state used by deterministic model tests.
- Current
CpuLocal Handle - Opaque address of the current CPU’s pinned owner-only scheduler object.
- Current
CpuOwner Handles - Runtime-owned capability snapshot for one pinned scheduler CPU.
- IrqGuard
Token - Token returned by the nested IRQ guard service.
- Local
IrqState - Runtime-defined raw local-IRQ state saved by a synchronization guard.
- Owner
Control Drain - Result of one bounded owner-control drain.
- Preempt
Guard Token - Token returned by the nested task-preemption guard service.
- RqClock
Sample - One Linux-style runqueue-clock observation for a target CPU.
- Runtime
CpuId - Logical CPU identifier exchanged with the operating-system runtime.
- Scheduler
Deadline Update - One generation-ordered publication from a CPU’s scheduler owner.
Enums§
- CpuLifecycle
State - Placement and remote-publication state of one logical CPU.
- Scheduler
Runtime Deadline - Owner-local update for the current scheduling class’s hrtick.
Functions§
- current_
cpu_ needs_ resched - Tests the sticky reschedule state of the calling CPU.
- current_
needs_ ⚠immediate_ scheduler_ work_ pinned - Tests only scheduler work consumed by kernel preempt-enable/IRQ return.
- current_
needs_ ⚠reschedule_ pinned - Tests the current CPU’s sticky reschedule request while migration is pinned.
- idle_
current_ cpu_ once - Executes one lossless idle publication/recheck/WFI iteration.