pub struct Cluster {
    pub id: u32,
    pub frequency: u64,
    pub cpuid: u32,
}

Fields

id: u32

Index of the first logical processor in the cluster

frequency: u64

Clock rate (non-Turbo) of the cores in the cluster, in Hz

cpuid: u32

Either value of CPUID leaf 1 EAX register on x86 OR value of Main ID Register on ARM

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 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.