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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.