1[ 2 { 3 "BriefDescription": "pclk Cycles", 4 "Counter": "0,1,2,3", 5 "EventName": "UNC_P_CLOCKTICKS", 6 "PerPkg": "1", 7 "PublicDescription": "The PCU runs off a fixed 800 MHz clock. This event counts the number of pclk cycles measured while the counter was enabled. The pclk, like the Memory Controller's dclk, counts at a constant rate making it a good measure of actual wall time.", 8 "Unit": "PCU" 9 }, 10 { 11 "BriefDescription": "Core C State Transition Cycles", 12 "Counter": "0,1,2,3", 13 "EventCode": "0x3", 14 "EventName": "UNC_P_CORE0_TRANSITION_CYCLES", 15 "PerPkg": "1", 16 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 17 "Unit": "PCU" 18 }, 19 { 20 "BriefDescription": "Core C State Transition Cycles", 21 "Counter": "0,1,2,3", 22 "EventCode": "0x4", 23 "EventName": "UNC_P_CORE1_TRANSITION_CYCLES", 24 "PerPkg": "1", 25 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 26 "Unit": "PCU" 27 }, 28 { 29 "BriefDescription": "Core C State Transition Cycles", 30 "Counter": "0,1,2,3", 31 "EventCode": "0x5", 32 "EventName": "UNC_P_CORE2_TRANSITION_CYCLES", 33 "PerPkg": "1", 34 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 35 "Unit": "PCU" 36 }, 37 { 38 "BriefDescription": "Core C State Transition Cycles", 39 "Counter": "0,1,2,3", 40 "EventCode": "0x6", 41 "EventName": "UNC_P_CORE3_TRANSITION_CYCLES", 42 "PerPkg": "1", 43 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 44 "Unit": "PCU" 45 }, 46 { 47 "BriefDescription": "Core C State Transition Cycles", 48 "Counter": "0,1,2,3", 49 "EventCode": "0x7", 50 "EventName": "UNC_P_CORE4_TRANSITION_CYCLES", 51 "PerPkg": "1", 52 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 53 "Unit": "PCU" 54 }, 55 { 56 "BriefDescription": "Core C State Transition Cycles", 57 "Counter": "0,1,2,3", 58 "EventCode": "0x8", 59 "EventName": "UNC_P_CORE5_TRANSITION_CYCLES", 60 "PerPkg": "1", 61 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 62 "Unit": "PCU" 63 }, 64 { 65 "BriefDescription": "Core C State Transition Cycles", 66 "Counter": "0,1,2,3", 67 "EventCode": "0x9", 68 "EventName": "UNC_P_CORE6_TRANSITION_CYCLES", 69 "PerPkg": "1", 70 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 71 "Unit": "PCU" 72 }, 73 { 74 "BriefDescription": "Core C State Transition Cycles", 75 "Counter": "0,1,2,3", 76 "EventCode": "0xa", 77 "EventName": "UNC_P_CORE7_TRANSITION_CYCLES", 78 "PerPkg": "1", 79 "PublicDescription": "Number of cycles spent performing core C state transitions. There is one event per core.", 80 "Unit": "PCU" 81 }, 82 { 83 "BriefDescription": "Core C State Demotions", 84 "Counter": "0,1,2,3", 85 "EventCode": "0x1e", 86 "EventName": "UNC_P_DEMOTIONS_CORE0", 87 "PerPkg": "1", 88 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 89 "Unit": "PCU" 90 }, 91 { 92 "BriefDescription": "Core C State Demotions", 93 "Counter": "0,1,2,3", 94 "EventCode": "0x1f", 95 "EventName": "UNC_P_DEMOTIONS_CORE1", 96 "PerPkg": "1", 97 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 98 "Unit": "PCU" 99 }, 100 { 101 "BriefDescription": "Core C State Demotions", 102 "Counter": "0,1,2,3", 103 "EventCode": "0x20", 104 "EventName": "UNC_P_DEMOTIONS_CORE2", 105 "PerPkg": "1", 106 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 107 "Unit": "PCU" 108 }, 109 { 110 "BriefDescription": "Core C State Demotions", 111 "Counter": "0,1,2,3", 112 "EventCode": "0x21", 113 "EventName": "UNC_P_DEMOTIONS_CORE3", 114 "PerPkg": "1", 115 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 116 "Unit": "PCU" 117 }, 118 { 119 "BriefDescription": "Core C State Demotions", 120 "Counter": "0,1,2,3", 121 "EventCode": "0x22", 122 "EventName": "UNC_P_DEMOTIONS_CORE4", 123 "PerPkg": "1", 124 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 125 "Unit": "PCU" 126 }, 127 { 128 "BriefDescription": "Core C State Demotions", 129 "Counter": "0,1,2,3", 130 "EventCode": "0x23", 131 "EventName": "UNC_P_DEMOTIONS_CORE5", 132 "PerPkg": "1", 133 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 134 "Unit": "PCU" 135 }, 136 { 137 "BriefDescription": "Core C State Demotions", 138 "Counter": "0,1,2,3", 139 "EventCode": "0x24", 140 "EventName": "UNC_P_DEMOTIONS_CORE6", 141 "PerPkg": "1", 142 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 143 "Unit": "PCU" 144 }, 145 { 146 "BriefDescription": "Core C State Demotions", 147 "Counter": "0,1,2,3", 148 "EventCode": "0x25", 149 "EventName": "UNC_P_DEMOTIONS_CORE7", 150 "PerPkg": "1", 151 "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", 152 "Unit": "PCU" 153 }, 154 { 155 "BriefDescription": "Frequency Residency", 156 "Counter": "0,1,2,3", 157 "EventCode": "0xb", 158 "EventName": "UNC_P_FREQ_BAND0_CYCLES", 159 "PerPkg": "1", 160 "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", 161 "Unit": "PCU" 162 }, 163 { 164 "BriefDescription": "Frequency Residency", 165 "Counter": "0,1,2,3", 166 "EventCode": "0xc", 167 "EventName": "UNC_P_FREQ_BAND1_CYCLES", 168 "PerPkg": "1", 169 "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", 170 "Unit": "PCU" 171 }, 172 { 173 "BriefDescription": "Frequency Residency", 174 "Counter": "0,1,2,3", 175 "EventCode": "0xd", 176 "EventName": "UNC_P_FREQ_BAND2_CYCLES", 177 "PerPkg": "1", 178 "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", 179 "Unit": "PCU" 180 }, 181 { 182 "BriefDescription": "Frequency Residency", 183 "Counter": "0,1,2,3", 184 "EventCode": "0xe", 185 "EventName": "UNC_P_FREQ_BAND3_CYCLES", 186 "PerPkg": "1", 187 "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", 188 "Unit": "PCU" 189 }, 190 { 191 "BriefDescription": "Current Strongest Upper Limit Cycles", 192 "Counter": "0,1,2,3", 193 "EventCode": "0x7", 194 "EventName": "UNC_P_FREQ_MAX_CURRENT_CYCLES", 195 "PerPkg": "1", 196 "PublicDescription": "Counts the number of cycles when current is the upper limit on frequency.", 197 "Unit": "PCU" 198 }, 199 { 200 "BriefDescription": "Thermal Strongest Upper Limit Cycles", 201 "Counter": "0,1,2,3", 202 "EventCode": "0x4", 203 "EventName": "UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES", 204 "PerPkg": "1", 205 "PublicDescription": "Counts the number of cycles when thermal conditions are the upper limit on frequency. This is related to the THERMAL_THROTTLE CYCLES_ABOVE_TEMP event, which always counts cycles when we are above the thermal temperature. This event (STRONGEST_UPPER_LIMIT) is sampled at the output of the algorithm that determines the actual frequency, while THERMAL_THROTTLE looks at the input.", 206 "Unit": "PCU" 207 }, 208 { 209 "BriefDescription": "OS Strongest Upper Limit Cycles", 210 "Counter": "0,1,2,3", 211 "EventCode": "0x6", 212 "EventName": "UNC_P_FREQ_MAX_OS_CYCLES", 213 "PerPkg": "1", 214 "PublicDescription": "Counts the number of cycles when the OS is the upper limit on frequency.", 215 "Unit": "PCU" 216 }, 217 { 218 "BriefDescription": "Power Strongest Upper Limit Cycles", 219 "Counter": "0,1,2,3", 220 "EventCode": "0x5", 221 "EventName": "UNC_P_FREQ_MAX_POWER_CYCLES", 222 "PerPkg": "1", 223 "PublicDescription": "Counts the number of cycles when power is the upper limit on frequency.", 224 "Unit": "PCU" 225 }, 226 { 227 "BriefDescription": "IO P Limit Strongest Lower Limit Cycles", 228 "Counter": "0,1,2,3", 229 "EventCode": "0x1", 230 "EventName": "UNC_P_FREQ_MIN_IO_P_CYCLES", 231 "PerPkg": "1", 232 "PublicDescription": "Counts the number of cycles when IO P Limit is preventing us from dropping the frequency lower. This algorithm monitors the needs to the IO subsystem on both local and remote sockets and will maintain a frequency high enough to maintain good IO BW. This is necessary for when all the IA cores on a socket are idle but a user still would like to maintain high IO Bandwidth.", 233 "Unit": "PCU" 234 }, 235 { 236 "BriefDescription": "Perf P Limit Strongest Lower Limit Cycles", 237 "Counter": "0,1,2,3", 238 "EventCode": "0x2", 239 "EventName": "UNC_P_FREQ_MIN_PERF_P_CYCLES", 240 "PerPkg": "1", 241 "PublicDescription": "Counts the number of cycles when Perf P Limit is preventing us from dropping the frequency lower. Perf P Limit is an algorithm that takes input from remote sockets when determining if a socket should drop it's frequency down. This is largely to minimize increases in snoop and remote read latencies.", 242 "Unit": "PCU" 243 }, 244 { 245 "BriefDescription": "Cycles spent changing Frequency", 246 "Counter": "0,1,2,3", 247 "EventName": "UNC_P_FREQ_TRANS_CYCLES", 248 "PerPkg": "1", 249 "PublicDescription": "Counts the number of cycles when the system is changing frequency. This can not be filtered by thread ID. One can also use it with the occupancy counter that monitors number of threads in C0 to estimate the performance impact that frequency transitions had on the system.", 250 "Unit": "PCU" 251 }, 252 { 253 "BriefDescription": "Memory Phase Shedding Cycles", 254 "Counter": "0,1,2,3", 255 "EventCode": "0x2f", 256 "EventName": "UNC_P_MEMORY_PHASE_SHEDDING_CYCLES", 257 "PerPkg": "1", 258 "PublicDescription": "Counts the number of cycles that the PCU has triggered memory phase shedding. This is a mode that can be run in the iMC physicals that saves power at the expense of additional latency.", 259 "Unit": "PCU" 260 }, 261 { 262 "BriefDescription": "Number of cores in C0", 263 "Counter": "0,1,2,3", 264 "EventCode": "0x80", 265 "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C0", 266 "Filter": "occ_sel=1", 267 "PerPkg": "1", 268 "PublicDescription": "This is an occupancy event that tracks the number of cores that are in C0. It can be used by itself to get the average number of cores in C0, with thresholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.", 269 "Unit": "PCU" 270 }, 271 { 272 "BriefDescription": "Number of cores in C0", 273 "Counter": "0,1,2,3", 274 "EventCode": "0x80", 275 "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C3", 276 "Filter": "occ_sel=2", 277 "PerPkg": "1", 278 "PublicDescription": "This is an occupancy event that tracks the number of cores that are in C0. It can be used by itself to get the average number of cores in C0, with thresholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.", 279 "Unit": "PCU" 280 }, 281 { 282 "BriefDescription": "Number of cores in C0", 283 "Counter": "0,1,2,3", 284 "EventCode": "0x80", 285 "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C6", 286 "Filter": "occ_sel=3", 287 "PerPkg": "1", 288 "PublicDescription": "This is an occupancy event that tracks the number of cores that are in C0. It can be used by itself to get the average number of cores in C0, with thresholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.", 289 "Unit": "PCU" 290 }, 291 { 292 "BriefDescription": "External Prochot", 293 "Counter": "0,1,2,3", 294 "EventCode": "0xa", 295 "EventName": "UNC_P_PROCHOT_EXTERNAL_CYCLES", 296 "PerPkg": "1", 297 "PublicDescription": "Counts the number of cycles that we are in external PROCHOT mode. This mode is triggered when a sensor off the die determines that something off-die (like DRAM) is too hot and must throttle to avoid damaging the chip.", 298 "Unit": "PCU" 299 }, 300 { 301 "BriefDescription": "Internal Prochot", 302 "Counter": "0,1,2,3", 303 "EventCode": "0x9", 304 "EventName": "UNC_P_PROCHOT_INTERNAL_CYCLES", 305 "PerPkg": "1", 306 "PublicDescription": "Counts the number of cycles that we are in Internal PROCHOT mode. This mode is triggered when a sensor on the die determines that we are too hot and must throttle to avoid damaging the chip.", 307 "Unit": "PCU" 308 }, 309 { 310 "BriefDescription": "Total Core C State Transition Cycles", 311 "Counter": "0,1,2,3", 312 "EventCode": "0xb", 313 "EventName": "UNC_P_TOTAL_TRANSITION_CYCLES", 314 "PerPkg": "1", 315 "PublicDescription": "Number of cycles spent performing core C state transitions across all cores.", 316 "Unit": "PCU" 317 }, 318 { 319 "BriefDescription": "Cycles Changing Voltage", 320 "Counter": "0,1,2,3", 321 "EventCode": "0x3", 322 "EventName": "UNC_P_VOLT_TRANS_CYCLES_CHANGE", 323 "PerPkg": "1", 324 "PublicDescription": "Counts the number of cycles when the system is changing voltage. There is no filtering supported with this event. One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition. This event is calculated by or'ing together the increasing and decreasing events.", 325 "Unit": "PCU" 326 }, 327 { 328 "BriefDescription": "Cycles Decreasing Voltage", 329 "Counter": "0,1,2,3", 330 "EventCode": "0x2", 331 "EventName": "UNC_P_VOLT_TRANS_CYCLES_DECREASE", 332 "PerPkg": "1", 333 "PublicDescription": "Counts the number of cycles when the system is decreasing voltage. There is no filtering supported with this event. One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition.", 334 "Unit": "PCU" 335 }, 336 { 337 "BriefDescription": "Cycles Increasing Voltage", 338 "Counter": "0,1,2,3", 339 "EventCode": "0x1", 340 "EventName": "UNC_P_VOLT_TRANS_CYCLES_INCREASE", 341 "PerPkg": "1", 342 "PublicDescription": "Counts the number of cycles when the system is increasing voltage. There is no filtering supported with this event. One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition.", 343 "Unit": "PCU" 344 }, 345 { 346 "BriefDescription": "VR Hot", 347 "Counter": "0,1,2,3", 348 "EventCode": "0x32", 349 "EventName": "UNC_P_VR_HOT_CYCLES", 350 "PerPkg": "1", 351 "Unit": "PCU" 352 } 353] 354