pub struct PerformanceMonitoringInfo { /* private fields */ }
Expand description

Info about performance monitoring – how many counters etc. (LEAF=0x0A)

Platforms

❌ AMD ✅ Intel

Implementations

Version ID of architectural performance monitoring. (Bits 07 - 00)

Number of general-purpose performance monitoring counter per logical processor. (Bits 15- 08)

Bit width of general-purpose, performance monitoring counter. (Bits 23 - 16)

Length of EBX bit vector to enumerate architectural performance monitoring events. (Bits 31 - 24)

Number of fixed-function performance counters (if Version ID > 1). (Bits 04 - 00)

Bit width of fixed-function performance counters (if Version ID > 1). (Bits 12- 05)

AnyThread deprecation

Core cycle event not available if 1.

Instruction retired event not available if 1.

Reference cycles event not available if 1.

Last-level cache reference event not available if 1.

Last-level cache misses event not available if 1.

Branch instruction retired event not available if 1.

Branch mispredict retired event not available if 1.

Trait Implementations

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