#[repr(C)]pub struct TopologyCluster {
pub performance_class: u8,
}Fields§
§performance_class: u8Relative performance level of this processor in the system. The value is interpreted as the performance of this processor relative to the maximum performance processor in the system. No specific values are required for the performance level, only that the following relationship holds:
Pmax is the value of performance_class for the maximum performance processor in the system, operating at its maximum operating point.
P is the value of performance_class for this processor, operating at its maximum operating point.
R is the performance ratio of this processor to the maximum performance processor in the system in the range (0.0, 1.0].
R = (P + 1) / (Pmax + 1)
If accuracy is limited, choose a conservative value that slightly under- estimates the performance of lower-performance processors.
Trait Implementations§
Source§impl Clone for TopologyCluster
impl Clone for TopologyCluster
Source§fn clone(&self) -> TopologyCluster
fn clone(&self) -> TopologyCluster
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TopologyCluster
impl Debug for TopologyCluster
Source§impl FromBytes for TopologyCluster
impl FromBytes for TopologyCluster
Source§impl FromZeros for TopologyCluster
impl FromZeros for TopologyCluster
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.