#[repr(C)]pub struct TopologyCluster {
pub performance_class: u8,
}
Fields§
§performance_class: u8
Relative 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 TopologyClusterwhere
u8: FromBytes,
impl FromBytes for TopologyClusterwhere
u8: FromBytes,
Source§impl FromZeros for TopologyClusterwhere
u8: FromZeros,
impl FromZeros for TopologyClusterwhere
u8: FromZeros,
Source§impl IntoBytes for TopologyClusterwhere
u8: IntoBytes,
impl IntoBytes for TopologyClusterwhere
u8: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Source§impl PartialEq for TopologyCluster
impl PartialEq for TopologyCluster
Source§impl TryFromBytes for TopologyClusterwhere
u8: TryFromBytes,
impl TryFromBytes for TopologyClusterwhere
u8: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for TopologyCluster
impl Eq for TopologyCluster
impl StructuralPartialEq for TopologyCluster
Auto Trait Implementations§
impl Freeze for TopologyCluster
impl RefUnwindSafe for TopologyCluster
impl Send for TopologyCluster
impl Sync for TopologyCluster
impl Unpin for TopologyCluster
impl UnwindSafe for TopologyCluster
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)