pub trait CommonSchedInfo {
// Required method
fn cpu(&self) -> &AtomicCpuId;
}
Expand description
Trait for fetching common scheduling information.
Required Methods§
Sourcefn cpu(&self) -> &AtomicCpuId
fn cpu(&self) -> &AtomicCpuId
Gets the CPU that the task is running on or lately ran on.