Struct pytorch_cpuinfo::ffi::cpuinfo_cluster
source · [−]#[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: u32Index of the first logical processor in the cluster
processor_count: u32Number of logical processors in the cluster
core_start: u32Index of the first core in the cluster
core_count: u32Number of cores on the cluster
cluster_id: u32Cluster ID within a package
package: *const cpuinfo_packagePhysical package containing the cluster
vendor: cpuinfo_vendorCPU microarchitecture vendor of the cores in the cluster
uarch: cpuinfo_uarchCPU microarchitecture of the cores in the cluster
cpuid: u32Value of CPUID leaf 1 EAX register of the cores in the cluster
frequency: u64Clock rate (non-Turbo) of the cores in the cluster, in Hz
Trait Implementations
sourceimpl Clone for cpuinfo_cluster
impl Clone for cpuinfo_cluster
sourcefn clone(&self) -> cpuinfo_cluster
fn clone(&self) -> cpuinfo_cluster
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for cpuinfo_cluster
impl Debug for cpuinfo_cluster
impl Copy for cpuinfo_cluster
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more