1d910f0baSAndi Kleen[ 2d910f0baSAndi Kleen { 370d90a6aSIan Rogers "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 470d90a6aSIan Rogers "EventCode": "0xE6", 570d90a6aSIan Rogers "EventName": "BACLEARS.ANY", 670d90a6aSIan Rogers "PublicDescription": "Number of front end re-steers due to BPU misprediction.", 770d90a6aSIan Rogers "SampleAfterValue": "100003", 870d90a6aSIan Rogers "UMask": "0x1f" 9d910f0baSAndi Kleen }, 10d910f0baSAndi Kleen { 1170d90a6aSIan Rogers "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches", 1270d90a6aSIan Rogers "EventCode": "0xAB", 1370d90a6aSIan Rogers "EventName": "DSB2MITE_SWITCHES.COUNT", 1470d90a6aSIan Rogers "PublicDescription": "Number of DSB to MITE switches.", 15d910f0baSAndi Kleen "SampleAfterValue": "2000003", 1670d90a6aSIan Rogers "UMask": "0x1" 17d910f0baSAndi Kleen }, 18d910f0baSAndi Kleen { 1970d90a6aSIan Rogers "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles", 2070d90a6aSIan Rogers "EventCode": "0xAB", 2170d90a6aSIan Rogers "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES", 2270d90a6aSIan Rogers "PublicDescription": "Cycles DSB to MITE switches caused delay.", 23d910f0baSAndi Kleen "SampleAfterValue": "2000003", 2470d90a6aSIan Rogers "UMask": "0x2" 25d910f0baSAndi Kleen }, 26d910f0baSAndi Kleen { 2770d90a6aSIan Rogers "BriefDescription": "Cycles when Decode Stream Buffer (DSB) fill encounter more than 3 Decode Stream Buffer (DSB) lines", 2870d90a6aSIan Rogers "EventCode": "0xAC", 2970d90a6aSIan Rogers "EventName": "DSB_FILL.EXCEED_DSB_LINES", 3070d90a6aSIan Rogers "PublicDescription": "DSB Fill encountered > 3 DSB lines.", 31194b6fa4SAndi Kleen "SampleAfterValue": "2000003", 3270d90a6aSIan Rogers "UMask": "0x8" 33194b6fa4SAndi Kleen }, 34194b6fa4SAndi Kleen { 35d910f0baSAndi Kleen "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches", 36d910f0baSAndi Kleen "EventCode": "0x80", 3770d90a6aSIan Rogers "EventName": "ICACHE.HIT", 3870d90a6aSIan Rogers "PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.", 39d910f0baSAndi Kleen "SampleAfterValue": "2000003", 4070d90a6aSIan Rogers "UMask": "0x1" 4170d90a6aSIan Rogers }, 4270d90a6aSIan Rogers { 43d910f0baSAndi Kleen "BriefDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss", 4470d90a6aSIan Rogers "EventCode": "0x80", 4570d90a6aSIan Rogers "EventName": "ICACHE.IFETCH_STALL", 4670d90a6aSIan Rogers "PublicDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss.", 47d910f0baSAndi Kleen "SampleAfterValue": "2000003", 4870d90a6aSIan Rogers "UMask": "0x4" 49d910f0baSAndi Kleen }, 50d910f0baSAndi Kleen { 5170d90a6aSIan Rogers "BriefDescription": "Instruction cache, streaming buffer and victim cache misses", 5270d90a6aSIan Rogers "EventCode": "0x80", 5370d90a6aSIan Rogers "EventName": "ICACHE.MISSES", 5470d90a6aSIan Rogers "PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes UC accesses.", 5570d90a6aSIan Rogers "SampleAfterValue": "200003", 5670d90a6aSIan Rogers "UMask": "0x2" 5770d90a6aSIan Rogers }, 5870d90a6aSIan Rogers { 5970d90a6aSIan Rogers "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops", 6070d90a6aSIan Rogers "CounterMask": "4", 6170d90a6aSIan Rogers "EventCode": "0x79", 6270d90a6aSIan Rogers "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS", 6370d90a6aSIan Rogers "PublicDescription": "Counts cycles DSB is delivered four uops. Set Cmask = 4.", 6470d90a6aSIan Rogers "SampleAfterValue": "2000003", 6570d90a6aSIan Rogers "UMask": "0x18" 6670d90a6aSIan Rogers }, 6770d90a6aSIan Rogers { 6870d90a6aSIan Rogers "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop", 6970d90a6aSIan Rogers "CounterMask": "1", 7070d90a6aSIan Rogers "EventCode": "0x79", 7170d90a6aSIan Rogers "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS", 7270d90a6aSIan Rogers "PublicDescription": "Counts cycles DSB is delivered at least one uops. Set Cmask = 1.", 7370d90a6aSIan Rogers "SampleAfterValue": "2000003", 7470d90a6aSIan Rogers "UMask": "0x18" 7570d90a6aSIan Rogers }, 7670d90a6aSIan Rogers { 7770d90a6aSIan Rogers "BriefDescription": "Cycles MITE is delivering 4 Uops", 7870d90a6aSIan Rogers "CounterMask": "4", 7970d90a6aSIan Rogers "EventCode": "0x79", 8070d90a6aSIan Rogers "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS", 8170d90a6aSIan Rogers "PublicDescription": "Counts cycles MITE is delivered four uops. Set Cmask = 4.", 8270d90a6aSIan Rogers "SampleAfterValue": "2000003", 8370d90a6aSIan Rogers "UMask": "0x24" 8470d90a6aSIan Rogers }, 8570d90a6aSIan Rogers { 8670d90a6aSIan Rogers "BriefDescription": "Cycles MITE is delivering any Uop", 8770d90a6aSIan Rogers "CounterMask": "1", 8870d90a6aSIan Rogers "EventCode": "0x79", 8970d90a6aSIan Rogers "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS", 9070d90a6aSIan Rogers "PublicDescription": "Counts cycles MITE is delivered at least one uops. Set Cmask = 1.", 9170d90a6aSIan Rogers "SampleAfterValue": "2000003", 9270d90a6aSIan Rogers "UMask": "0x24" 9370d90a6aSIan Rogers }, 9470d90a6aSIan Rogers { 9570d90a6aSIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path", 9670d90a6aSIan Rogers "CounterMask": "1", 9770d90a6aSIan Rogers "EventCode": "0x79", 9870d90a6aSIan Rogers "EventName": "IDQ.DSB_CYCLES", 9970d90a6aSIan Rogers "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.", 10070d90a6aSIan Rogers "SampleAfterValue": "2000003", 10170d90a6aSIan Rogers "UMask": "0x8" 10270d90a6aSIan Rogers }, 10370d90a6aSIan Rogers { 10470d90a6aSIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path", 10570d90a6aSIan Rogers "EventCode": "0x79", 10670d90a6aSIan Rogers "EventName": "IDQ.DSB_UOPS", 10770d90a6aSIan Rogers "PublicDescription": "Increment each cycle. # of uops delivered to IDQ from DSB path. Set Cmask = 1 to count cycles.", 10870d90a6aSIan Rogers "SampleAfterValue": "2000003", 10970d90a6aSIan Rogers "UMask": "0x8" 11070d90a6aSIan Rogers }, 11170d90a6aSIan Rogers { 11270d90a6aSIan Rogers "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles", 11370d90a6aSIan Rogers "EventCode": "0x79", 11470d90a6aSIan Rogers "EventName": "IDQ.EMPTY", 11570d90a6aSIan Rogers "PublicDescription": "Counts cycles the IDQ is empty.", 11670d90a6aSIan Rogers "SampleAfterValue": "2000003", 11770d90a6aSIan Rogers "UMask": "0x2" 11870d90a6aSIan Rogers }, 11970d90a6aSIan Rogers { 12070d90a6aSIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 12170d90a6aSIan Rogers "EventCode": "0x79", 12270d90a6aSIan Rogers "EventName": "IDQ.MITE_ALL_UOPS", 12370d90a6aSIan Rogers "PublicDescription": "Number of uops delivered to IDQ from any path.", 12470d90a6aSIan Rogers "SampleAfterValue": "2000003", 12570d90a6aSIan Rogers "UMask": "0x3c" 12670d90a6aSIan Rogers }, 12770d90a6aSIan Rogers { 12870d90a6aSIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path", 12970d90a6aSIan Rogers "CounterMask": "1", 13070d90a6aSIan Rogers "EventCode": "0x79", 13170d90a6aSIan Rogers "EventName": "IDQ.MITE_CYCLES", 13270d90a6aSIan Rogers "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.", 13370d90a6aSIan Rogers "SampleAfterValue": "2000003", 13470d90a6aSIan Rogers "UMask": "0x4" 13570d90a6aSIan Rogers }, 13670d90a6aSIan Rogers { 13770d90a6aSIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 13870d90a6aSIan Rogers "EventCode": "0x79", 13970d90a6aSIan Rogers "EventName": "IDQ.MITE_UOPS", 14070d90a6aSIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MITE path. Set Cmask = 1 to count cycles.", 14170d90a6aSIan Rogers "SampleAfterValue": "2000003", 14270d90a6aSIan Rogers "UMask": "0x4" 14370d90a6aSIan Rogers }, 14470d90a6aSIan Rogers { 145*d2aaf040SIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 14670d90a6aSIan Rogers "CounterMask": "1", 14770d90a6aSIan Rogers "EventCode": "0x79", 14870d90a6aSIan Rogers "EventName": "IDQ.MS_CYCLES", 149*d2aaf040SIan Rogers "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy.", 15070d90a6aSIan Rogers "SampleAfterValue": "2000003", 15170d90a6aSIan Rogers "UMask": "0x30" 15270d90a6aSIan Rogers }, 15370d90a6aSIan Rogers { 154*d2aaf040SIan Rogers "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 15570d90a6aSIan Rogers "CounterMask": "1", 15670d90a6aSIan Rogers "EventCode": "0x79", 15770d90a6aSIan Rogers "EventName": "IDQ.MS_DSB_CYCLES", 158*d2aaf040SIan Rogers "PublicDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy.", 15970d90a6aSIan Rogers "SampleAfterValue": "2000003", 16070d90a6aSIan Rogers "UMask": "0x10" 16170d90a6aSIan Rogers }, 16270d90a6aSIan Rogers { 163*d2aaf040SIan Rogers "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequencer (MS) is busy", 16470d90a6aSIan Rogers "CounterMask": "1", 16570d90a6aSIan Rogers "EdgeDetect": "1", 16670d90a6aSIan Rogers "EventCode": "0x79", 16770d90a6aSIan Rogers "EventName": "IDQ.MS_DSB_OCCUR", 168*d2aaf040SIan Rogers "PublicDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequencer (MS) is busy.", 16970d90a6aSIan Rogers "SampleAfterValue": "2000003", 17070d90a6aSIan Rogers "UMask": "0x10" 17170d90a6aSIan Rogers }, 17270d90a6aSIan Rogers { 173*d2aaf040SIan Rogers "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 17470d90a6aSIan Rogers "EventCode": "0x79", 17570d90a6aSIan Rogers "EventName": "IDQ.MS_DSB_UOPS", 17670d90a6aSIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count # of delivery.", 17770d90a6aSIan Rogers "SampleAfterValue": "2000003", 17870d90a6aSIan Rogers "UMask": "0x10" 17970d90a6aSIan Rogers }, 18070d90a6aSIan Rogers { 181*d2aaf040SIan Rogers "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 18270d90a6aSIan Rogers "EventCode": "0x79", 18370d90a6aSIan Rogers "EventName": "IDQ.MS_MITE_UOPS", 18470d90a6aSIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by MITE. Set Cmask = 1 to count cycles.", 18570d90a6aSIan Rogers "SampleAfterValue": "2000003", 18670d90a6aSIan Rogers "UMask": "0x20" 18770d90a6aSIan Rogers }, 18870d90a6aSIan Rogers { 18970d90a6aSIan Rogers "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer", 19070d90a6aSIan Rogers "CounterMask": "1", 19170d90a6aSIan Rogers "EdgeDetect": "1", 19270d90a6aSIan Rogers "EventCode": "0x79", 19370d90a6aSIan Rogers "EventName": "IDQ.MS_SWITCHES", 19470d90a6aSIan Rogers "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.", 19570d90a6aSIan Rogers "SampleAfterValue": "2000003", 19670d90a6aSIan Rogers "UMask": "0x30" 19770d90a6aSIan Rogers }, 19870d90a6aSIan Rogers { 199*d2aaf040SIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 20070d90a6aSIan Rogers "EventCode": "0x79", 20170d90a6aSIan Rogers "EventName": "IDQ.MS_UOPS", 20270d90a6aSIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MS by either DSB or MITE. Set Cmask = 1 to count cycles.", 20370d90a6aSIan Rogers "SampleAfterValue": "2000003", 20470d90a6aSIan Rogers "UMask": "0x30" 20570d90a6aSIan Rogers }, 20670d90a6aSIan Rogers { 20770d90a6aSIan Rogers "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled", 20870d90a6aSIan Rogers "EventCode": "0x9C", 20970d90a6aSIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE", 21070d90a6aSIan Rogers "PublicDescription": "Count issue pipeline slots where no uop was delivered from the front end to the back end when there is no back-end stall.", 21170d90a6aSIan Rogers "SampleAfterValue": "2000003", 21270d90a6aSIan Rogers "UMask": "0x1" 21370d90a6aSIan Rogers }, 21470d90a6aSIan Rogers { 21570d90a6aSIan Rogers "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.", 21670d90a6aSIan Rogers "CounterMask": "4", 21770d90a6aSIan Rogers "EventCode": "0x9C", 218d910f0baSAndi Kleen "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE", 219d910f0baSAndi Kleen "SampleAfterValue": "2000003", 22070d90a6aSIan Rogers "UMask": "0x1" 221d910f0baSAndi Kleen }, 222d910f0baSAndi Kleen { 22370d90a6aSIan Rogers "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.", 22470d90a6aSIan Rogers "CounterMask": "1", 22570d90a6aSIan Rogers "EventCode": "0x9C", 22670d90a6aSIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK", 22770d90a6aSIan Rogers "Invert": "1", 22870d90a6aSIan Rogers "SampleAfterValue": "2000003", 22970d90a6aSIan Rogers "UMask": "0x1" 23070d90a6aSIan Rogers }, 23170d90a6aSIan Rogers { 23270d90a6aSIan Rogers "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.", 23370d90a6aSIan Rogers "CounterMask": "3", 23470d90a6aSIan Rogers "EventCode": "0x9C", 235d910f0baSAndi Kleen "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE", 236d910f0baSAndi Kleen "SampleAfterValue": "2000003", 23770d90a6aSIan Rogers "UMask": "0x1" 238d910f0baSAndi Kleen }, 239d910f0baSAndi Kleen { 24070d90a6aSIan Rogers "BriefDescription": "Cycles with less than 2 uops delivered by the front end.", 24170d90a6aSIan Rogers "CounterMask": "2", 24270d90a6aSIan Rogers "EventCode": "0x9C", 243d910f0baSAndi Kleen "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE", 244d910f0baSAndi Kleen "SampleAfterValue": "2000003", 24570d90a6aSIan Rogers "UMask": "0x1" 246d910f0baSAndi Kleen }, 247d910f0baSAndi Kleen { 24870d90a6aSIan Rogers "BriefDescription": "Cycles with less than 3 uops delivered by the front end.", 24970d90a6aSIan Rogers "CounterMask": "1", 25070d90a6aSIan Rogers "EventCode": "0x9C", 251d910f0baSAndi Kleen "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE", 252d910f0baSAndi Kleen "SampleAfterValue": "2000003", 25370d90a6aSIan Rogers "UMask": "0x1" 254d910f0baSAndi Kleen } 255d910f0baSAndi Kleen] 256