Trait CommonSchedInfo

Source
pub trait CommonSchedInfo {
    // Required method
    fn cpu(&self) -> &AtomicCpuId;
}
Expand description

Trait for fetching common scheduling information.

Required Methods§

Source

fn cpu(&self) -> &AtomicCpuId

Gets the CPU that the task is running on or lately ran on.

Implementors§