I
NTEL
® X
EON
® P
ROCESSOR
7500 S
ERIES
U
NCORE
P
ROGRAMMING
G
UIDE
UNCORE PERFORMANCE MONITORING
2-78
2.6.3.2
R-Box Box Level PMON state
The following registers represent the state governing all box-level PMUs in the R-Box.
The _GLOBAL_CTL register contains the bits used to enable monitoring. It is necessary to set the
.ctr_en bit to 1 before the corresponding data register can collect events.
If an overflow is detected from one of the R-Box PMON registers, the corresponding bit in the
_GLOBAL_STATUS.ov field will be set. To reset the overflow bits set in the _GLOBAL_STATUS.ov field, a
user must set the corresponding bits in the _GLOBAL_OVF_CTL.clr_ov field before beginning a new
sample interval.
Table 2-41. R_MSR_PMON_GLOBAL_CTL_{15_8, 7_0} Register Fields
Table 2-42. R_MSR_PMON_GLOBAL_STATUS_{15_8, 7_0} Register Fields
Table 2-43. R_MSR_PMON_OVF_CTL_{15_8, 7_0} Register Fields
2.6.3.3
R-Box PMON state - Counter/Control Pairs + Filters
The following table defines the layout of the R-Box performance monitor control registers. The main
task of these configuration registers is to select the subcontrol register that selects the event to be
monitored by the respective data counter. Setting the .ev_sel fields performs the subcontrol register
selection. The .en bit must be set to 1 to enable counting.
Additional control bits include:
- .pmi_en governs what to do if an overflow is detected.
Field
Bits
HW
Reset
Val
Description
ctr_en
7:0
0 Must be set to enable each RBOX counter (bit 0 to enable ctr0, etc)
NOTE: U-Box enable and per counter enable must also be set to fully
enable the counter.
Field
Bits
HW
Reset
Val
Description
ov
7:0
0 If an overflow is detected from the corresponding RBOX PMON register,
it’s overflow bit will be set.
Field
Bits
HW
Reset
Val
Description
clr_ov
7:0
0 Writing bit in field to ‘1’ will clear the corresponding overflow bit in
R_CSR_PMON_GLOBAL_STATUS_{15_8,7_0} to 0.