Struct hwlocality::cpu::kind::CpuKind
source · pub struct CpuKind<'topology> {
pub cpuset: CpuSet,
pub efficiency: Option<CpuEfficiency>,
pub infos: &'topology [TextualInfo],
}
Available on crate feature
hwloc-2_4_0
only.Expand description
Kind of CPU core
Fields§
§cpuset: CpuSet
CPUs that use this kind of core
efficiency: Option<CpuEfficiency>
CPU efficiency metric, if known
A lower metric value means that the CPU is expected to consume less power, at the cost of possibly being less performant.
infos: &'topology [TextualInfo]
Textual information
Trait Implementations§
source§impl<'topology> PartialEq for CpuKind<'topology>
impl<'topology> PartialEq for CpuKind<'topology>
impl<'topology> Eq for CpuKind<'topology>
impl<'topology> StructuralPartialEq for CpuKind<'topology>
Auto Trait Implementations§
impl<'topology> RefUnwindSafe for CpuKind<'topology>
impl<'topology> Send for CpuKind<'topology>
impl<'topology> Sync for CpuKind<'topology>
impl<'topology> Unpin for CpuKind<'topology>
impl<'topology> UnwindSafe for CpuKind<'topology>
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