pub struct CpuEntry {
pub reg: u64,
pub vnode: u32,
}
Expand description
Struct containing parsed CPU information.
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
Numa node id for this CPU.
Trait Implementations§
impl Copy for CpuEntry
impl Eq for CpuEntry
impl StructuralPartialEq for CpuEntry
Auto Trait Implementations§
impl Freeze for CpuEntry
impl RefUnwindSafe for CpuEntry
impl Send for CpuEntry
impl Sync for CpuEntry
impl Unpin for CpuEntry
impl UnwindSafe for CpuEntry
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