pub struct Cluster {
pub processor_start: u32,
pub processor_count: u32,
pub core_start: u32,
pub core_count: u32,
pub cluster_id: u32,
pub package: Arc<Package>,
pub vendor: Vendor,
pub uarch: Uarch,
pub cpuid: Option<u32>,
pub midr: Option<u32>,
pub frequency: u64,
}
Fields§
§processor_start: u32
Index of the first logical processor in the cluster
processor_count: u32
Number of logical processors in the cluster
core_start: u32
Index of the first core in the cluster
core_count: u32
Number of cores on the cluster
cluster_id: u32
Cluster ID within a package
package: Arc<Package>
Physical package containing the cluster
vendor: Vendor
CPU microarchitecture vendor of the cores in the cluster
uarch: Uarch
CPU microarchitecture of the cores in the cluster
cpuid: Option<u32>
Value of CPUID leaf 1 EAX register for this core (x86/x64-specific ID)
midr: Option<u32>
Value of Main ID Register (MIDR) for this core (arm/aarch64-specific ID)
frequency: u64
Clock rate (non-Turbo) of the cores in the cluster, in Hz
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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