TianoCore EDK2 master
Loading...
Searching...
No Matches
MSR_HASWELL_IA32_PERFEVTSEL_REGISTER Union Reference

#include <MdePkg/Include/Register/Intel/Msr/HaswellMsr.h>

Data Fields

struct {
   UINT32   EventSelect: 8
 
   UINT32   UMASK: 8
 
   UINT32   USR: 1
 
   UINT32   OS: 1
 
   UINT32   E: 1
 
   UINT32   PC: 1
 
   UINT32   INT: 1
 
   UINT32   ANY: 1
 
   UINT32   EN: 1
 
   UINT32   INV: 1
 
   UINT32   CMASK: 8
 
   UINT32   Reserved: 32
 
   UINT32   IN_TX: 1
 
   UINT32   Reserved2: 31
 
} Bits
 
UINT64 Uint64
 

Detailed Description

MSR information returned for MSR indexes MSR_HASWELL_IA32_PERFEVTSEL0, MSR_HASWELL_IA32_PERFEVTSEL1, and MSR_HASWELL_IA32_PERFEVTSEL3.

Definition at line 155 of file HaswellMsr.h.

Field Documentation

◆ ANY

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::ANY

[Bit 21] AnyThread: When set to 1, it enables counting the associated event conditions occurring across all logical processors sharing a processor core. When set to 0, the counter only increments the associated event conditions occurring in the logical processor which programmed the MSR.

Definition at line 196 of file HaswellMsr.h.

◆ 

struct { ... } MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::Bits

Individual bit fields

◆ CMASK

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::CMASK

[Bits 31:24] CMASK: When CMASK is not zero, the corresponding performance counter increments each cycle if the event count is greater than or equal to the CMASK.

Definition at line 211 of file HaswellMsr.h.

◆ E

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::E

[Bit 18] Edge: Enables edge detection if set.

Definition at line 180 of file HaswellMsr.h.

◆ EN

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::EN

[Bit 22] EN: enables the corresponding performance counter to commence counting when this bit is set.

Definition at line 201 of file HaswellMsr.h.

◆ EventSelect

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::EventSelect

[Bits 7:0] Event Select: Selects a performance event logic unit.

Definition at line 163 of file HaswellMsr.h.

◆ IN_TX

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::IN_TX

[Bit 32] IN_TX: see Section 18.3.6.5.1 When IN_TX (bit 32) is set, AnyThread (bit 21) should be cleared to prevent incorrect results.

Definition at line 217 of file HaswellMsr.h.

◆ INT

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::INT

[Bit 20] INT: enables interrupt on counter overflow.

Definition at line 188 of file HaswellMsr.h.

◆ INV

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::INV

[Bit 23] INV: invert the CMASK.

Definition at line 205 of file HaswellMsr.h.

◆ OS

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::OS

[Bit 17] OS: Counts while in privilege level is ring 0.

Definition at line 176 of file HaswellMsr.h.

◆ PC

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::PC

[Bit 19] PC: enables pin control.

Definition at line 184 of file HaswellMsr.h.

◆ Reserved

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::Reserved

Definition at line 212 of file HaswellMsr.h.

◆ Reserved2

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::Reserved2

Definition at line 218 of file HaswellMsr.h.

◆ Uint64

UINT64 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::Uint64

All bit fields as a 64-bit value

Definition at line 223 of file HaswellMsr.h.

◆ UMASK

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::UMASK

[Bits 15:8] UMask: Qualifies the microarchitectural condition to detect on the selected event logic.

Definition at line 168 of file HaswellMsr.h.

◆ USR

UINT32 MSR_HASWELL_IA32_PERFEVTSEL_REGISTER::USR

[Bit 16] USR: Counts while in privilege level is not ring 0.

Definition at line 172 of file HaswellMsr.h.


The documentation for this union was generated from the following file: