#[repr(C)]pub struct cpuinfo_cluster {
pub processor_start: u32,
pub processor_count: u32,
pub core_start: u32,
pub core_count: u32,
pub cluster_id: u32,
pub package: *const cpuinfo_package,
pub vendor: cpuinfo_vendor,
pub uarch: cpuinfo_uarch,
pub cpuid: 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: *const cpuinfo_package
Physical package containing the cluster
vendor: cpuinfo_vendor
CPU microarchitecture vendor of the cores in the cluster
uarch: cpuinfo_uarch
CPU microarchitecture of the cores in the cluster
cpuid: u32
Value of CPUID leaf 1 EAX register of the cores in the cluster
frequency: u64
Clock rate (non-Turbo) of the cores in the cluster, in Hz
Trait Implementations§
Source§impl Clone for cpuinfo_cluster
impl Clone for cpuinfo_cluster
Source§fn clone(&self) -> cpuinfo_cluster
fn clone(&self) -> cpuinfo_cluster
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for cpuinfo_cluster
impl Debug for cpuinfo_cluster
impl Copy for cpuinfo_cluster
Auto Trait Implementations§
impl Freeze for cpuinfo_cluster
impl RefUnwindSafe for cpuinfo_cluster
impl !Send for cpuinfo_cluster
impl !Sync for cpuinfo_cluster
impl Unpin for cpuinfo_cluster
impl UnwindSafe for cpuinfo_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