#[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 more