pub struct Cpu {
pub reg: u64,
pub vnode: u32,
}
Expand description
A parsed cpu.
Fields§
§reg: u64
Architecture specific “reg” value for this CPU. For x64, this is the APIC ID. For ARM v8 64-bit, this should match the MPIDR_EL1 register affinity bits.
vnode: u32
The vnode field of a cpu dt node, which describes the numa node id.
Trait Implementations§
impl Copy for Cpu
impl Eq for Cpu
impl StructuralPartialEq for Cpu
Auto Trait Implementations§
impl Freeze for Cpu
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more