1e415c149SIan Rogers[ 2e415c149SIan Rogers { 3e415c149SIan Rogers "BriefDescription": "Counts the total number of branch instructions retired for all branch types.", 4e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 5e415c149SIan Rogers "EventCode": "0xc4", 6e415c149SIan Rogers "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 7*c4ba122aSIan Rogers "PublicDescription": "Counts the total number of instructions in which the instruction pointer (IP) of the processor is resteered due to a branch instruction and the branch instruction successfully retires. All branch type instructions are accounted for. Available PDIST counters: 0,1", 8e415c149SIan Rogers "SampleAfterValue": "1000003" 9e415c149SIan Rogers }, 10e415c149SIan Rogers { 11e415c149SIan Rogers "BriefDescription": "Counts the total number of mispredicted branch instructions retired for all branch types.", 12e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 13e415c149SIan Rogers "EventCode": "0xc5", 14e415c149SIan Rogers "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 15*c4ba122aSIan Rogers "PublicDescription": "Counts the total number of mispredicted branch instructions retired. All branch type instructions are accounted for. Prediction of the branch target address enables the processor to begin executing instructions before the non-speculative execution path is known. The branch prediction unit (BPU) predicts the target address based on the instruction pointer (IP) of the branch and on the execution path through which execution reached this IP. A branch misprediction occurs when the prediction is wrong, and results in discarding all instructions executed in the speculative path and re-fetching from the correct path. Available PDIST counters: 0,1", 16e415c149SIan Rogers "SampleAfterValue": "1000003" 17e415c149SIan Rogers }, 18e415c149SIan Rogers { 19e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles.", 20e415c149SIan Rogers "Counter": "Fixed counter 1", 21e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.CORE", 22e415c149SIan Rogers "SampleAfterValue": "1000003", 23e415c149SIan Rogers "UMask": "0x2" 24e415c149SIan Rogers }, 25e415c149SIan Rogers { 26e415c149SIan Rogers "BriefDescription": "Counts the number of unhalted core clock cycles. [This event is alias to CPU_CLK_UNHALTED.THREAD_P]", 27e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 28e415c149SIan Rogers "EventCode": "0x3c", 29e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.CORE_P", 30e415c149SIan Rogers "SampleAfterValue": "1000003" 31e415c149SIan Rogers }, 32e415c149SIan Rogers { 33e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of unhalted reference clock cycles.", 34e415c149SIan Rogers "Counter": "Fixed counter 2", 35e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_TSC", 36e415c149SIan Rogers "SampleAfterValue": "1000003", 37e415c149SIan Rogers "UMask": "0x3" 38e415c149SIan Rogers }, 39e415c149SIan Rogers { 40e415c149SIan Rogers "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.", 41e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 42e415c149SIan Rogers "EventCode": "0x3c", 43e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_TSC_P", 44e415c149SIan Rogers "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. This event is not affected by core frequency changes and increments at a fixed frequency that is also used for the Time Stamp Counter (TSC). This event uses a programmable general purpose performance counter.", 45e415c149SIan Rogers "SampleAfterValue": "1000003", 46e415c149SIan Rogers "UMask": "0x1" 47e415c149SIan Rogers }, 48e415c149SIan Rogers { 49e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles.", 50e415c149SIan Rogers "Counter": "Fixed counter 1", 51e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD", 52e415c149SIan Rogers "SampleAfterValue": "1000003", 53e415c149SIan Rogers "UMask": "0x2" 54e415c149SIan Rogers }, 55e415c149SIan Rogers { 56e415c149SIan Rogers "BriefDescription": "Counts the number of unhalted core clock cycles. [This event is alias to CPU_CLK_UNHALTED.CORE_P]", 57e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 58e415c149SIan Rogers "EventCode": "0x3c", 59e415c149SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_P", 60e415c149SIan Rogers "SampleAfterValue": "1000003" 61e415c149SIan Rogers }, 62e415c149SIan Rogers { 63e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of instructions retired.", 64e415c149SIan Rogers "Counter": "Fixed counter 0", 65e415c149SIan Rogers "EventName": "INST_RETIRED.ANY", 66*c4ba122aSIan Rogers "PublicDescription": "Fixed Counter: Counts the number of instructions retired. Available PDIST counters: 32", 67e415c149SIan Rogers "SampleAfterValue": "1000003", 68e415c149SIan Rogers "UMask": "0x1" 69e415c149SIan Rogers }, 70e415c149SIan Rogers { 71e415c149SIan Rogers "BriefDescription": "Counts the number of instructions retired.", 72e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 73e415c149SIan Rogers "EventCode": "0xc0", 74e415c149SIan Rogers "EventName": "INST_RETIRED.ANY_P", 75*c4ba122aSIan Rogers "PublicDescription": "Counts the number of instructions retired. Available PDIST counters: 0,1", 76e415c149SIan Rogers "SampleAfterValue": "1000003" 77e415c149SIan Rogers }, 78e415c149SIan Rogers { 79e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear.", 80e415c149SIan Rogers "Counter": "36", 81e415c149SIan Rogers "EventName": "TOPDOWN_BAD_SPECULATION.ALL", 82e415c149SIan Rogers "SampleAfterValue": "1000003", 83e415c149SIan Rogers "UMask": "0x5" 84e415c149SIan Rogers }, 85e415c149SIan Rogers { 86e415c149SIan Rogers "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [This event is alias to TOPDOWN_BE_BOUND.ALL_P]", 87e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 88e415c149SIan Rogers "EventCode": "0xa4", 89e415c149SIan Rogers "EventName": "TOPDOWN_BE_BOUND.ALL", 90e415c149SIan Rogers "SampleAfterValue": "1000003", 91e415c149SIan Rogers "UMask": "0x2" 92e415c149SIan Rogers }, 93e415c149SIan Rogers { 94e415c149SIan Rogers "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls. [This event is alias to TOPDOWN_BE_BOUND.ALL]", 95e415c149SIan Rogers "Counter": "0,1,2,3,4,5,6,7", 96e415c149SIan Rogers "EventCode": "0xa4", 97e415c149SIan Rogers "EventName": "TOPDOWN_BE_BOUND.ALL_P", 98e415c149SIan Rogers "SampleAfterValue": "1000003", 99e415c149SIan Rogers "UMask": "0x2" 100e415c149SIan Rogers }, 101e415c149SIan Rogers { 102e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of retirement slots not consumed due to front end stalls.", 103e415c149SIan Rogers "Counter": "37", 104e415c149SIan Rogers "EventName": "TOPDOWN_FE_BOUND.ALL", 105e415c149SIan Rogers "SampleAfterValue": "1000003", 106e415c149SIan Rogers "UMask": "0x6" 107e415c149SIan Rogers }, 108e415c149SIan Rogers { 109e415c149SIan Rogers "BriefDescription": "Fixed Counter: Counts the number of consumed retirement slots.", 110e415c149SIan Rogers "Counter": "38", 111e415c149SIan Rogers "EventName": "TOPDOWN_RETIRING.ALL", 112e415c149SIan Rogers "SampleAfterValue": "1000003", 113e415c149SIan Rogers "UMask": "0x7" 114e415c149SIan Rogers } 115e415c149SIan Rogers] 116