Intel BX80571E7500 Programming Manual - Page 113

Table 2-67. M_MSR_PMU_CNT_CTL{5-0} Register - Field Definitions, Table 2-68. M_MSR_PMU_CNT_{5-0}

Page 113 highlights

INTEL® XEON® PROCESSOR 7500 SERIES UNCORE PROGRAMMING GUIDE UNCORE PERFORMANCE MONITORING Table 2-67. M_MSR_PMU_CNT_CTL{5-0} Register - Field Definitions Field ig rsv ig rsv set_flag_sel rsv inc_sel rsv flag_mode wrap_mode storage_mode count_mode pmi_en en Bits HW Reset Val Description 63 62:61 60:25 24:22 21:19 18:14 13:9 8 7 6 5:4 3:2 1 0 0 Read zero; writes ignored. (?) 0 Reserved; Must write to 0 else behavior is undefined. 0 Read zero; writes ignored. (?) 0 Reserved; Must write to 0 else behavior is undefined. 0 Selects the 'set' condition for enable flag. Secondary event select. See Table 2-84, "Performance Monitor Events for M-Box Events" for events elected by this field. NOTE: Bit 7 (flag_mode) must be set to 1 to enable this field. 0 Reserved; Must write to 0 else behavior is undefined. 0 Selects increment signal for this counter. Primary event select. See Table 2-84, "Performance Monitor Events for M-Box Events" for events elected by this field. 0 Reserved; Must write to 0 else behavior is undefined. 0 Enable conditional counting using set_flag_sel 0 Counter wrap mode. If set to 0, this counter will stop counting on detection of over/underflow. If set to 1, this counter will wrap and continue counting on detection of over/underflow. 0 Storage mode. If set to 0, no count enable flag is required. If set to 1, count enable flag must have a value of 1 for counting to occur. 0 00 - count will increase (up) 01 - count will decrease (dn) 10 - count can increase and decrease 0 Enable PMON interrupt on counter over/underflow. 0 Enable counting The M-Box performance monitor data registers are 48b wide. A counter overflow occurs when a carry out bit from bit 47 is detected. Software can force all uncore counting to freeze after N events by preloading a monitor with a count value of (248 - 1) - N and setting the control register to send a PMI to the U-Box. Upon receipt of the PMI, the U-Box will disable counting ( Section 2.1.1.1, "Freezing on Counter Overflow"). During the interval of time between overflow and global disable, the counter value will wrap and continue to collect events. In this way, software can capture the precise number of events that occurred between the time uncore counting was enabled and when it was disabled (or 'frozen') with minimal skew. If accessible, software can continuously read the data registers without disabling event collection. Table 2-68. M_MSR_PMU_CNT_{5-0} Register - Field Definitions Field event_count Bits HW Reset Val Description 47:0 0 48-bit performance event counter The M-Box also includes a 16b timestamp unit that is incremented each M-Box clock tick. It is a freerunning counter unattached to the rest of the M-Box PMU, meaning it does not generate an event fed to the other counters. 2-101

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

I
NTEL
® X
EON
® P
ROCESSOR
7500 S
ERIES
U
NCORE
P
ROGRAMMING
G
UIDE
UNCORE PERFORMANCE MONITORING
2-101
Table 2-67. M_MSR_PMU_CNT_CTL{5-0} Register – Field Definitions
The M-Box performance monitor data registers are 48b wide. A counter overflow occurs when a carry
out bit from bit 47 is detected. Software can force all uncore counting to freeze after N events by
preloading a monitor with a count value of (2
48
- 1) - N and setting the control register to send a PMI to
the U-Box. Upon receipt of the PMI, the U-Box will disable counting (
Section 2.1.1.1, “Freezing on
Counter Overflow”
). During the interval of time between overflow and global disable, the counter value
will wrap and continue to collect events.
In this way, software can capture the precise number of events that occurred between the time uncore
counting was enabled and when it was disabled (or ‘frozen’) with minimal skew.
If accessible, software can continuously read the data registers without disabling event collection.
Table 2-68. M_MSR_PMU_CNT_{5-0} Register – Field Definitions
The M-Box also includes a 16b timestamp unit that is incremented each M-Box clock tick. It is a free-
running counter unattached to the rest of the M-Box PMU, meaning it does not generate an event fed to
the other counters.
Field
Bits
HW
Reset
Val
Description
ig
63
0
Read zero; writes ignored. (?)
rsv
62:61
0
Reserved; Must write to 0 else behavior is undefined.
ig
60:25
0
Read zero; writes ignored. (?)
rsv
24:22
0
Reserved; Must write to 0 else behavior is undefined.
set_flag_sel
21:19
0
Selects the ‘set’ condition for enable flag. Secondary event select.
See
Table 2-84, “Performance Monitor Events for M-Box Events”
for
events elected by this field.
NOTE:
Bit 7 (flag_mode) must be set to 1 to enable this field.
rsv
18:14
0
Reserved; Must write to 0 else behavior is undefined.
inc_sel
13:9
0
Selects increment signal for this counter. Primary event select.
See
Table 2-84, “Performance Monitor Events for M-Box Events”
for
events elected by this field.
rsv
8
0
Reserved; Must write to 0 else behavior is undefined.
flag_mode
7
0
Enable conditional counting using set_flag_sel
wrap_mode
6
0
Counter wrap mode. If set to 0, this counter will stop counting on
detection of over/underflow. If set to 1, this counter will wrap and
continue counting on detection of over/underflow.
storage_mode
5:4
0
Storage mode. If set to 0, no count enable flag is required. If set to 1,
count enable flag must have a value of 1 for counting to occur.
count_mode
3:2
0
00 - count will increase (up)
01 - count will decrease (dn)
10 - count can increase
and
decrease
pmi_en
1
0
Enable PMON interrupt on counter over/underflow.
en
0
0
Enable counting
Field
Bits
HW
Reset
Val
Description
event_count
47:0
0
48-bit performance event counter