Skip to main content

Module sched

Module sched 

Source
Expand description

Scheduling policy, CPU placement and runtime accounting.

Structs§

ChargeOutcome
Result of charging one scheduler dispatch.
CpuId
A logical processor identifier in the configured topology.
CpuSet
CPU affinity expressed against one crate::runtime::TaskSystem topology.
DeadlineActivitySnapshot
Snapshot of a Deadline thread’s GRUB ownership and zero-lag state.
DeadlineBandwidthSnapshot
Per-runqueue GRUB utilization snapshot in billionths of one CPU.
DeadlineFlags
Linux-compatible Deadline behavior flags supported by the core.
DeadlinePolicy
Validated SCHED_DEADLINE reservation parameters.
DeadlineRuntimeSnapshot
Snapshot of one Deadline reservation’s CBS and PI state.
Nice
Linux-compatible nice value in the inclusive range -20..=19.
RtPriority
POSIX real-time priority in the inclusive range 1..=99.
SchedulerTimestamp
One absolute timestamp in the wrapping per-runqueue clock domain.
ThreadAffinityChange
Move-only completion for one generation of a remote affinity change.

Enums§

DeadlineActivity
GRUB activity of one admitted Deadline reservation.
FairMode
Fair-class scheduling behavior.
SchedulePolicy
Base scheduling policy of a thread.
SchedulingClass
Scheduler class carried by a remotely observed CPU load summary.

Functions§

active_cpu_set
Returns the CPUs that currently accept runnable placement.
cpu_busy_runtime_ns
Returns cumulative non-idle runtime charged by one online CPU.
cpu_topology_len
Returns the fixed topology width accepted by scheduler affinity masks.