Struct glommio::CpuLocation [−][src]
pub struct CpuLocation {
pub cpu: usize,
pub core: usize,
pub package: usize,
pub numa_node: usize,
}
Expand description
A description of the CPU’s location in the machine topology.
Fields
cpu: usize
Holds the CPU id. This is the most granular field and will distinguish
among hyper-threads
.
core: usize
Holds the core id on which the cpu
is located.
package: usize
Holds the package or socket id on which the cpu
is located.
numa_node: usize
Holds the NUMA node on which the cpu
is located.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CpuLocation
impl Send for CpuLocation
impl Sync for CpuLocation
impl Unpin for CpuLocation
impl UnwindSafe for CpuLocation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more