127b565b1SAndi Kleen[ 227b565b1SAndi Kleen { 327b565b1SAndi Kleen "BriefDescription": "Cycles when divider is busy executing divide operations", 4*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 534cb72efSIan Rogers "EventCode": "0x14", 627b565b1SAndi Kleen "EventName": "ARITH.FPU_DIV_ACTIVE", 727b565b1SAndi Kleen "PublicDescription": "This event counts the number of the divide operations executed. Uses edge-detect and a cmask value of 1 on ARITH.FPU_DIV_ACTIVE to get the number of the divide operations executed.", 827b565b1SAndi Kleen "SampleAfterValue": "2000003", 934cb72efSIan Rogers "UMask": "0x1" 1027b565b1SAndi Kleen }, 1127b565b1SAndi Kleen { 1227b565b1SAndi Kleen "BriefDescription": "Speculative and retired branches", 13*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 1434cb72efSIan Rogers "EventCode": "0x88", 1527b565b1SAndi Kleen "EventName": "BR_INST_EXEC.ALL_BRANCHES", 1627b565b1SAndi Kleen "PublicDescription": "This event counts both taken and not taken speculative and retired branch instructions.", 1727b565b1SAndi Kleen "SampleAfterValue": "200003", 1834cb72efSIan Rogers "UMask": "0xff" 1927b565b1SAndi Kleen }, 2027b565b1SAndi Kleen { 2134cb72efSIan Rogers "BriefDescription": "Speculative and retired macro-conditional branches", 22*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 2334cb72efSIan Rogers "EventCode": "0x88", 2434cb72efSIan Rogers "EventName": "BR_INST_EXEC.ALL_CONDITIONAL", 2534cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired macro-conditional branch instructions.", 2627b565b1SAndi Kleen "SampleAfterValue": "200003", 2734cb72efSIan Rogers "UMask": "0xc1" 2827b565b1SAndi Kleen }, 2927b565b1SAndi Kleen { 3034cb72efSIan Rogers "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects", 31*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 3234cb72efSIan Rogers "EventCode": "0x88", 3334cb72efSIan Rogers "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP", 3434cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired macro-unconditional branch instructions, excluding calls and indirects.", 3527b565b1SAndi Kleen "SampleAfterValue": "200003", 3634cb72efSIan Rogers "UMask": "0xc2" 3727b565b1SAndi Kleen }, 3827b565b1SAndi Kleen { 3934cb72efSIan Rogers "BriefDescription": "Speculative and retired direct near calls", 40*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 4134cb72efSIan Rogers "EventCode": "0x88", 4234cb72efSIan Rogers "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL", 4334cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired direct near calls.", 4427b565b1SAndi Kleen "SampleAfterValue": "200003", 4534cb72efSIan Rogers "UMask": "0xd0" 4627b565b1SAndi Kleen }, 4727b565b1SAndi Kleen { 4834cb72efSIan Rogers "BriefDescription": "Speculative and retired indirect branches excluding calls and returns", 49*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 5034cb72efSIan Rogers "EventCode": "0x88", 5134cb72efSIan Rogers "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 5234cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches excluding calls and return branches.", 5327b565b1SAndi Kleen "SampleAfterValue": "200003", 5434cb72efSIan Rogers "UMask": "0xc4" 5527b565b1SAndi Kleen }, 5627b565b1SAndi Kleen { 5734cb72efSIan Rogers "BriefDescription": "Speculative and retired indirect return branches.", 58*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 5934cb72efSIan Rogers "EventCode": "0x88", 6034cb72efSIan Rogers "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN", 6134cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches that have a return mnemonic.", 62fae0a4dfSAndi Kleen "SampleAfterValue": "200003", 6334cb72efSIan Rogers "UMask": "0xc8" 64fae0a4dfSAndi Kleen }, 65fae0a4dfSAndi Kleen { 6634cb72efSIan Rogers "BriefDescription": "Not taken macro-conditional branches", 67*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 6834cb72efSIan Rogers "EventCode": "0x88", 6934cb72efSIan Rogers "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL", 7034cb72efSIan Rogers "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 7127b565b1SAndi Kleen "SampleAfterValue": "200003", 7234cb72efSIan Rogers "UMask": "0x41" 7327b565b1SAndi Kleen }, 7427b565b1SAndi Kleen { 7534cb72efSIan Rogers "BriefDescription": "Taken speculative and retired macro-conditional branches", 76*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 7734cb72efSIan Rogers "EventCode": "0x88", 7834cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL", 7934cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions.", 8027b565b1SAndi Kleen "SampleAfterValue": "200003", 8134cb72efSIan Rogers "UMask": "0x81" 8227b565b1SAndi Kleen }, 8327b565b1SAndi Kleen { 8434cb72efSIan Rogers "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects", 85*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 8634cb72efSIan Rogers "EventCode": "0x88", 8734cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP", 8834cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions excluding calls and indirect branches.", 8927b565b1SAndi Kleen "SampleAfterValue": "200003", 9034cb72efSIan Rogers "UMask": "0x82" 9127b565b1SAndi Kleen }, 9227b565b1SAndi Kleen { 9334cb72efSIan Rogers "BriefDescription": "Taken speculative and retired direct near calls", 94*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 9534cb72efSIan Rogers "EventCode": "0x88", 9634cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL", 9734cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired direct near calls.", 9834cb72efSIan Rogers "SampleAfterValue": "200003", 9934cb72efSIan Rogers "UMask": "0x90" 100fae0a4dfSAndi Kleen }, 101fae0a4dfSAndi Kleen { 10234cb72efSIan Rogers "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns", 103*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 10434cb72efSIan Rogers "EventCode": "0x88", 10534cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 10634cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired indirect branches excluding calls and return branches.", 10734cb72efSIan Rogers "SampleAfterValue": "200003", 10834cb72efSIan Rogers "UMask": "0x84" 10927b565b1SAndi Kleen }, 11027b565b1SAndi Kleen { 11134cb72efSIan Rogers "BriefDescription": "Taken speculative and retired indirect calls", 112*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 11334cb72efSIan Rogers "EventCode": "0x88", 11434cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL", 11534cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired indirect calls including both register and memory indirect.", 11634cb72efSIan Rogers "SampleAfterValue": "200003", 11734cb72efSIan Rogers "UMask": "0xa0" 118fae0a4dfSAndi Kleen }, 119fae0a4dfSAndi Kleen { 12034cb72efSIan Rogers "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic", 121*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 12234cb72efSIan Rogers "EventCode": "0x88", 12334cb72efSIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN", 12434cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired indirect branches that have a return mnemonic.", 12534cb72efSIan Rogers "SampleAfterValue": "200003", 12634cb72efSIan Rogers "UMask": "0x88" 127fae0a4dfSAndi Kleen }, 128fae0a4dfSAndi Kleen { 129fae0a4dfSAndi Kleen "BriefDescription": "All (macro) branch instructions retired.", 130*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 13134cb72efSIan Rogers "EventCode": "0xC4", 132fae0a4dfSAndi Kleen "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 133fae0a4dfSAndi Kleen "PublicDescription": "This event counts all (macro) branch instructions retired.", 13434cb72efSIan Rogers "SampleAfterValue": "400009" 135fae0a4dfSAndi Kleen }, 136fae0a4dfSAndi Kleen { 137fae0a4dfSAndi Kleen "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS)", 138*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 139fae0a4dfSAndi Kleen "Errata": "BDW98", 14034cb72efSIan Rogers "EventCode": "0xC4", 14134cb72efSIan Rogers "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS", 14234cb72efSIan Rogers "PEBS": "2", 143fae0a4dfSAndi Kleen "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.", 144fae0a4dfSAndi Kleen "SampleAfterValue": "400009", 14534cb72efSIan Rogers "UMask": "0x4" 146fae0a4dfSAndi Kleen }, 147fae0a4dfSAndi Kleen { 1488aae803fSIan Rogers "BriefDescription": "Conditional branch instructions retired.", 149*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 15034cb72efSIan Rogers "EventCode": "0xC4", 15134cb72efSIan Rogers "EventName": "BR_INST_RETIRED.CONDITIONAL", 15234cb72efSIan Rogers "PEBS": "1", 1538aae803fSIan Rogers "PublicDescription": "This event counts conditional branch instructions retired.", 15434cb72efSIan Rogers "SampleAfterValue": "400009", 15534cb72efSIan Rogers "UMask": "0x1" 15634cb72efSIan Rogers }, 15734cb72efSIan Rogers { 15834cb72efSIan Rogers "BriefDescription": "Far branch instructions retired.", 159*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 16034cb72efSIan Rogers "Errata": "BDW98", 16134cb72efSIan Rogers "EventCode": "0xC4", 16234cb72efSIan Rogers "EventName": "BR_INST_RETIRED.FAR_BRANCH", 16334cb72efSIan Rogers "PublicDescription": "This event counts far branch instructions retired.", 16434cb72efSIan Rogers "SampleAfterValue": "100007", 16534cb72efSIan Rogers "UMask": "0x40" 16634cb72efSIan Rogers }, 16734cb72efSIan Rogers { 1688aae803fSIan Rogers "BriefDescription": "Direct and indirect near call instructions retired.", 169*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 17034cb72efSIan Rogers "EventCode": "0xC4", 17134cb72efSIan Rogers "EventName": "BR_INST_RETIRED.NEAR_CALL", 17234cb72efSIan Rogers "PEBS": "1", 1738aae803fSIan Rogers "PublicDescription": "This event counts both direct and indirect near call instructions retired.", 17434cb72efSIan Rogers "SampleAfterValue": "100007", 17534cb72efSIan Rogers "UMask": "0x2" 17634cb72efSIan Rogers }, 17734cb72efSIan Rogers { 1788aae803fSIan Rogers "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).", 179*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 18034cb72efSIan Rogers "EventCode": "0xC4", 18134cb72efSIan Rogers "EventName": "BR_INST_RETIRED.NEAR_CALL_R3", 18234cb72efSIan Rogers "PEBS": "1", 1838aae803fSIan Rogers "PublicDescription": "This event counts both direct and indirect macro near call instructions retired (captured in ring 3).", 18434cb72efSIan Rogers "SampleAfterValue": "100007", 18534cb72efSIan Rogers "UMask": "0x2" 18634cb72efSIan Rogers }, 18734cb72efSIan Rogers { 1888aae803fSIan Rogers "BriefDescription": "Return instructions retired.", 189*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 19034cb72efSIan Rogers "EventCode": "0xC4", 191fae0a4dfSAndi Kleen "EventName": "BR_INST_RETIRED.NEAR_RETURN", 19234cb72efSIan Rogers "PEBS": "1", 1938aae803fSIan Rogers "PublicDescription": "This event counts return instructions retired.", 194fae0a4dfSAndi Kleen "SampleAfterValue": "100007", 19534cb72efSIan Rogers "UMask": "0x8" 196fae0a4dfSAndi Kleen }, 197fae0a4dfSAndi Kleen { 1988aae803fSIan Rogers "BriefDescription": "Taken branch instructions retired.", 199*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 200fae0a4dfSAndi Kleen "EventCode": "0xC4", 20134cb72efSIan Rogers "EventName": "BR_INST_RETIRED.NEAR_TAKEN", 20234cb72efSIan Rogers "PEBS": "1", 2038aae803fSIan Rogers "PublicDescription": "This event counts taken branch instructions retired.", 20434cb72efSIan Rogers "SampleAfterValue": "400009", 20534cb72efSIan Rogers "UMask": "0x20" 20634cb72efSIan Rogers }, 20734cb72efSIan Rogers { 208fae0a4dfSAndi Kleen "BriefDescription": "Not taken branch instructions retired.", 209*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 21034cb72efSIan Rogers "EventCode": "0xC4", 211fae0a4dfSAndi Kleen "EventName": "BR_INST_RETIRED.NOT_TAKEN", 212fae0a4dfSAndi Kleen "PublicDescription": "This event counts not taken branch instructions retired.", 213fae0a4dfSAndi Kleen "SampleAfterValue": "400009", 21434cb72efSIan Rogers "UMask": "0x10" 215fae0a4dfSAndi Kleen }, 216fae0a4dfSAndi Kleen { 21734cb72efSIan Rogers "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 218*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 21934cb72efSIan Rogers "EventCode": "0x89", 22034cb72efSIan Rogers "EventName": "BR_MISP_EXEC.ALL_BRANCHES", 22134cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted branch instructions.", 22234cb72efSIan Rogers "SampleAfterValue": "200003", 22334cb72efSIan Rogers "UMask": "0xff" 224fae0a4dfSAndi Kleen }, 225fae0a4dfSAndi Kleen { 22634cb72efSIan Rogers "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 227*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 22834cb72efSIan Rogers "EventCode": "0x89", 22934cb72efSIan Rogers "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL", 23034cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted macro conditional branch instructions.", 23134cb72efSIan Rogers "SampleAfterValue": "200003", 23234cb72efSIan Rogers "UMask": "0xc1" 233fae0a4dfSAndi Kleen }, 234fae0a4dfSAndi Kleen { 23534cb72efSIan Rogers "BriefDescription": "Mispredicted indirect branches excluding calls and returns", 236*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 23734cb72efSIan Rogers "EventCode": "0x89", 23834cb72efSIan Rogers "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 23934cb72efSIan Rogers "PublicDescription": "This event counts both taken and not taken mispredicted indirect branches excluding calls and returns.", 24034cb72efSIan Rogers "SampleAfterValue": "200003", 24134cb72efSIan Rogers "UMask": "0xc4" 24234cb72efSIan Rogers }, 24334cb72efSIan Rogers { 2448aae803fSIan Rogers "BriefDescription": "Speculative mispredicted indirect branches", 245*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 2468aae803fSIan Rogers "EventCode": "0x89", 2478aae803fSIan Rogers "EventName": "BR_MISP_EXEC.INDIRECT", 2488aae803fSIan Rogers "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).", 2498aae803fSIan Rogers "SampleAfterValue": "200003", 2508aae803fSIan Rogers "UMask": "0xe4" 2518aae803fSIan Rogers }, 2528aae803fSIan Rogers { 25334cb72efSIan Rogers "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches", 254*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 25534cb72efSIan Rogers "EventCode": "0x89", 25634cb72efSIan Rogers "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL", 25734cb72efSIan Rogers "PublicDescription": "This event counts not taken speculative and retired mispredicted macro conditional branch instructions.", 25834cb72efSIan Rogers "SampleAfterValue": "200003", 25934cb72efSIan Rogers "UMask": "0x41" 26034cb72efSIan Rogers }, 26134cb72efSIan Rogers { 26234cb72efSIan Rogers "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches", 263*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 26434cb72efSIan Rogers "EventCode": "0x89", 26534cb72efSIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL", 26634cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired mispredicted macro conditional branch instructions.", 26734cb72efSIan Rogers "SampleAfterValue": "200003", 26834cb72efSIan Rogers "UMask": "0x81" 26934cb72efSIan Rogers }, 27034cb72efSIan Rogers { 27134cb72efSIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns", 272*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 27334cb72efSIan Rogers "EventCode": "0x89", 27434cb72efSIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 27534cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches excluding calls and returns.", 27634cb72efSIan Rogers "SampleAfterValue": "200003", 27734cb72efSIan Rogers "UMask": "0x84" 27834cb72efSIan Rogers }, 27934cb72efSIan Rogers { 28034cb72efSIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect calls.", 281*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 28234cb72efSIan Rogers "EventCode": "0x89", 28334cb72efSIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL", 28434cb72efSIan Rogers "SampleAfterValue": "200003", 28534cb72efSIan Rogers "UMask": "0xa0" 28634cb72efSIan Rogers }, 28734cb72efSIan Rogers { 28834cb72efSIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic", 289*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 29034cb72efSIan Rogers "EventCode": "0x89", 29134cb72efSIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR", 29234cb72efSIan Rogers "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches that have a return mnemonic.", 29334cb72efSIan Rogers "SampleAfterValue": "200003", 29434cb72efSIan Rogers "UMask": "0x88" 29534cb72efSIan Rogers }, 29634cb72efSIan Rogers { 297fae0a4dfSAndi Kleen "BriefDescription": "All mispredicted macro branch instructions retired.", 298*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 29934cb72efSIan Rogers "EventCode": "0xC5", 300fae0a4dfSAndi Kleen "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 301fae0a4dfSAndi Kleen "PublicDescription": "This event counts all mispredicted macro branch instructions retired.", 30234cb72efSIan Rogers "SampleAfterValue": "400009" 303fae0a4dfSAndi Kleen }, 304fae0a4dfSAndi Kleen { 305fae0a4dfSAndi Kleen "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)", 306*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 30734cb72efSIan Rogers "EventCode": "0xC5", 308fae0a4dfSAndi Kleen "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS", 30934cb72efSIan Rogers "PEBS": "2", 310fae0a4dfSAndi Kleen "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.", 311fae0a4dfSAndi Kleen "SampleAfterValue": "400009", 31234cb72efSIan Rogers "UMask": "0x4" 313fae0a4dfSAndi Kleen }, 314fae0a4dfSAndi Kleen { 3158aae803fSIan Rogers "BriefDescription": "Mispredicted conditional branch instructions retired.", 316*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 31734cb72efSIan Rogers "EventCode": "0xC5", 31834cb72efSIan Rogers "EventName": "BR_MISP_RETIRED.CONDITIONAL", 31934cb72efSIan Rogers "PEBS": "1", 3208aae803fSIan Rogers "PublicDescription": "This event counts mispredicted conditional branch instructions retired.", 32134cb72efSIan Rogers "SampleAfterValue": "400009", 32234cb72efSIan Rogers "UMask": "0x1" 323fae0a4dfSAndi Kleen }, 324fae0a4dfSAndi Kleen { 3258aae803fSIan Rogers "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.", 326*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 32734cb72efSIan Rogers "EventCode": "0xC5", 328fae0a4dfSAndi Kleen "EventName": "BR_MISP_RETIRED.NEAR_TAKEN", 32934cb72efSIan Rogers "PEBS": "1", 3308aae803fSIan Rogers "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken.", 331fae0a4dfSAndi Kleen "SampleAfterValue": "400009", 33234cb72efSIan Rogers "UMask": "0x20" 333fae0a4dfSAndi Kleen }, 334fae0a4dfSAndi Kleen { 3358aae803fSIan Rogers "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS", 336*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 33734cb72efSIan Rogers "EventCode": "0xC5", 33834cb72efSIan Rogers "EventName": "BR_MISP_RETIRED.RET", 33934cb72efSIan Rogers "PEBS": "1", 3408aae803fSIan Rogers "PublicDescription": "This event counts mispredicted return instructions retired.", 34134cb72efSIan Rogers "SampleAfterValue": "100007", 34234cb72efSIan Rogers "UMask": "0x8" 34334cb72efSIan Rogers }, 34434cb72efSIan Rogers { 34534cb72efSIan Rogers "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 346*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 34734cb72efSIan Rogers "EventCode": "0x3c", 34834cb72efSIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE", 3498aae803fSIan Rogers "SampleAfterValue": "100003", 35034cb72efSIan Rogers "UMask": "0x2" 35134cb72efSIan Rogers }, 35234cb72efSIan Rogers { 35334cb72efSIan Rogers "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 354*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 35534cb72efSIan Rogers "EventCode": "0x3C", 35634cb72efSIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK", 35734cb72efSIan Rogers "PublicDescription": "This is a fixed-frequency event programmed to general counters. It counts when the core is unhalted at 100 Mhz.", 3588aae803fSIan Rogers "SampleAfterValue": "100003", 35934cb72efSIan Rogers "UMask": "0x1" 36034cb72efSIan Rogers }, 36134cb72efSIan Rogers { 36234cb72efSIan Rogers "AnyThread": "1", 36334cb72efSIan Rogers "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 364*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 36534cb72efSIan Rogers "EventCode": "0x3C", 36634cb72efSIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY", 3678aae803fSIan Rogers "SampleAfterValue": "100003", 36834cb72efSIan Rogers "UMask": "0x1" 36934cb72efSIan Rogers }, 37034cb72efSIan Rogers { 37134cb72efSIan Rogers "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 372*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 37334cb72efSIan Rogers "EventCode": "0x3C", 37434cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE", 3758aae803fSIan Rogers "SampleAfterValue": "100003", 37634cb72efSIan Rogers "UMask": "0x2" 37734cb72efSIan Rogers }, 37834cb72efSIan Rogers { 37934cb72efSIan Rogers "BriefDescription": "Reference cycles when the core is not in halt state.", 380*6a8ec0b6SIan Rogers "Counter": "Fixed counter 2", 38134cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_TSC", 38234cb72efSIan Rogers "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. \nNote: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'. This event is clocked by base clock (100 Mhz) on Sandy Bridge. The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'. After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.", 38334cb72efSIan Rogers "SampleAfterValue": "2000003", 38434cb72efSIan Rogers "UMask": "0x3" 38534cb72efSIan Rogers }, 38634cb72efSIan Rogers { 38734cb72efSIan Rogers "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 388*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 38934cb72efSIan Rogers "EventCode": "0x3C", 39034cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_XCLK", 39134cb72efSIan Rogers "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).", 3928aae803fSIan Rogers "SampleAfterValue": "100003", 39334cb72efSIan Rogers "UMask": "0x1" 39434cb72efSIan Rogers }, 39534cb72efSIan Rogers { 39634cb72efSIan Rogers "AnyThread": "1", 39734cb72efSIan Rogers "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 398*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 39934cb72efSIan Rogers "EventCode": "0x3C", 40034cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY", 4018aae803fSIan Rogers "SampleAfterValue": "100003", 40234cb72efSIan Rogers "UMask": "0x1" 40334cb72efSIan Rogers }, 40434cb72efSIan Rogers { 40534cb72efSIan Rogers "BriefDescription": "Core cycles when the thread is not in halt state", 406*6a8ec0b6SIan Rogers "Counter": "Fixed counter 1", 40734cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD", 40834cb72efSIan Rogers "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.", 40934cb72efSIan Rogers "SampleAfterValue": "2000003", 41034cb72efSIan Rogers "UMask": "0x2" 41134cb72efSIan Rogers }, 41234cb72efSIan Rogers { 41334cb72efSIan Rogers "AnyThread": "1", 41434cb72efSIan Rogers "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 415*6a8ec0b6SIan Rogers "Counter": "Fixed counter 1", 41634cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_ANY", 41734cb72efSIan Rogers "SampleAfterValue": "2000003", 41834cb72efSIan Rogers "UMask": "0x2" 41934cb72efSIan Rogers }, 42034cb72efSIan Rogers { 42134cb72efSIan Rogers "BriefDescription": "Thread cycles when thread is not in halt state", 422*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 42334cb72efSIan Rogers "EventCode": "0x3C", 42434cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_P", 42534cb72efSIan Rogers "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.", 42634cb72efSIan Rogers "SampleAfterValue": "2000003" 42734cb72efSIan Rogers }, 42834cb72efSIan Rogers { 42934cb72efSIan Rogers "AnyThread": "1", 43034cb72efSIan Rogers "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 431*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 43234cb72efSIan Rogers "EventCode": "0x3C", 43334cb72efSIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY", 43434cb72efSIan Rogers "SampleAfterValue": "2000003" 43534cb72efSIan Rogers }, 43634cb72efSIan Rogers { 43734cb72efSIan Rogers "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.", 438*6a8ec0b6SIan Rogers "Counter": "2", 43934cb72efSIan Rogers "CounterMask": "8", 44034cb72efSIan Rogers "EventCode": "0xA3", 44134cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS", 44234cb72efSIan Rogers "SampleAfterValue": "2000003", 44334cb72efSIan Rogers "UMask": "0x8" 44434cb72efSIan Rogers }, 44534cb72efSIan Rogers { 44634cb72efSIan Rogers "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.", 447*6a8ec0b6SIan Rogers "Counter": "2", 44834cb72efSIan Rogers "CounterMask": "8", 44934cb72efSIan Rogers "EventCode": "0xA3", 45034cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING", 45134cb72efSIan Rogers "PublicDescription": "Counts number of cycles the CPU has at least one pending demand load request missing the L1 data cache.", 45234cb72efSIan Rogers "SampleAfterValue": "2000003", 45334cb72efSIan Rogers "UMask": "0x8" 45434cb72efSIan Rogers }, 45534cb72efSIan Rogers { 45634cb72efSIan Rogers "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.", 457*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 45834cb72efSIan Rogers "CounterMask": "1", 45934cb72efSIan Rogers "EventCode": "0xA3", 46034cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS", 46134cb72efSIan Rogers "SampleAfterValue": "2000003", 46234cb72efSIan Rogers "UMask": "0x1" 46334cb72efSIan Rogers }, 46434cb72efSIan Rogers { 46534cb72efSIan Rogers "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.", 466*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 46734cb72efSIan Rogers "CounterMask": "1", 46834cb72efSIan Rogers "EventCode": "0xA3", 46934cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING", 47034cb72efSIan Rogers "PublicDescription": "Counts number of cycles the CPU has at least one pending demand* load request missing the L2 cache.", 47134cb72efSIan Rogers "SampleAfterValue": "2000003", 47234cb72efSIan Rogers "UMask": "0x1" 47334cb72efSIan Rogers }, 47434cb72efSIan Rogers { 47534cb72efSIan Rogers "BriefDescription": "Cycles while memory subsystem has an outstanding load.", 476*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 47734cb72efSIan Rogers "CounterMask": "2", 47834cb72efSIan Rogers "EventCode": "0xA3", 47934cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING", 48034cb72efSIan Rogers "PublicDescription": "Counts number of cycles the CPU has at least one pending demand load request (that is cycles with non-completed load waiting for its data from memory subsystem).", 48134cb72efSIan Rogers "SampleAfterValue": "2000003", 48234cb72efSIan Rogers "UMask": "0x2" 48334cb72efSIan Rogers }, 48434cb72efSIan Rogers { 48534cb72efSIan Rogers "BriefDescription": "Cycles while memory subsystem has an outstanding load.", 486*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 48734cb72efSIan Rogers "CounterMask": "2", 48834cb72efSIan Rogers "EventCode": "0xA3", 48934cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY", 49034cb72efSIan Rogers "SampleAfterValue": "2000003", 49134cb72efSIan Rogers "UMask": "0x2" 49234cb72efSIan Rogers }, 49334cb72efSIan Rogers { 49434cb72efSIan Rogers "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.", 495*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 49634cb72efSIan Rogers "CounterMask": "4", 49734cb72efSIan Rogers "EventCode": "0xA3", 49834cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE", 49934cb72efSIan Rogers "PublicDescription": "Counts number of cycles nothing is executed on any execution port.", 50034cb72efSIan Rogers "SampleAfterValue": "2000003", 50134cb72efSIan Rogers "UMask": "0x4" 50234cb72efSIan Rogers }, 50334cb72efSIan Rogers { 50434cb72efSIan Rogers "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.", 505*6a8ec0b6SIan Rogers "Counter": "2", 50634cb72efSIan Rogers "CounterMask": "12", 50734cb72efSIan Rogers "EventCode": "0xA3", 50834cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS", 50934cb72efSIan Rogers "SampleAfterValue": "2000003", 51034cb72efSIan Rogers "UMask": "0xc" 51134cb72efSIan Rogers }, 51234cb72efSIan Rogers { 51334cb72efSIan Rogers "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.", 514*6a8ec0b6SIan Rogers "Counter": "2", 51534cb72efSIan Rogers "CounterMask": "12", 51634cb72efSIan Rogers "EventCode": "0xA3", 51734cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING", 51834cb72efSIan Rogers "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request missing the L1 data cache.", 51934cb72efSIan Rogers "SampleAfterValue": "2000003", 52034cb72efSIan Rogers "UMask": "0xc" 52134cb72efSIan Rogers }, 52234cb72efSIan Rogers { 52334cb72efSIan Rogers "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.", 524*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 52534cb72efSIan Rogers "CounterMask": "5", 52634cb72efSIan Rogers "EventCode": "0xA3", 52734cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS", 52834cb72efSIan Rogers "SampleAfterValue": "2000003", 52934cb72efSIan Rogers "UMask": "0x5" 53034cb72efSIan Rogers }, 53134cb72efSIan Rogers { 53234cb72efSIan Rogers "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.", 533*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 53434cb72efSIan Rogers "CounterMask": "5", 53534cb72efSIan Rogers "EventCode": "0xA3", 53634cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING", 53734cb72efSIan Rogers "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand* load request missing the L2 cache.(as a footprint) * includes also L1 HW prefetch requests that may or may not be required by demands.", 53834cb72efSIan Rogers "SampleAfterValue": "2000003", 53934cb72efSIan Rogers "UMask": "0x5" 54034cb72efSIan Rogers }, 54134cb72efSIan Rogers { 54234cb72efSIan Rogers "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.", 543*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 54434cb72efSIan Rogers "CounterMask": "6", 54534cb72efSIan Rogers "EventCode": "0xA3", 54634cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING", 54734cb72efSIan Rogers "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request.", 54834cb72efSIan Rogers "SampleAfterValue": "2000003", 54934cb72efSIan Rogers "UMask": "0x6" 55034cb72efSIan Rogers }, 55134cb72efSIan Rogers { 55234cb72efSIan Rogers "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.", 553*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 55434cb72efSIan Rogers "CounterMask": "6", 55534cb72efSIan Rogers "EventCode": "0xA3", 55634cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY", 55734cb72efSIan Rogers "SampleAfterValue": "2000003", 55834cb72efSIan Rogers "UMask": "0x6" 55934cb72efSIan Rogers }, 56034cb72efSIan Rogers { 56134cb72efSIan Rogers "BriefDescription": "Total execution stalls.", 562*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 56334cb72efSIan Rogers "CounterMask": "4", 56434cb72efSIan Rogers "EventCode": "0xA3", 56534cb72efSIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL", 56634cb72efSIan Rogers "SampleAfterValue": "2000003", 56734cb72efSIan Rogers "UMask": "0x4" 56834cb72efSIan Rogers }, 56934cb72efSIan Rogers { 57034cb72efSIan Rogers "BriefDescription": "Stalls caused by changing prefix length of the instruction.", 571*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 57234cb72efSIan Rogers "EventCode": "0x87", 57334cb72efSIan Rogers "EventName": "ILD_STALL.LCP", 5748aae803fSIan Rogers "PublicDescription": "This event counts stalls occurred due to changing prefix length (66, 67 or REX.W when they change the length of the decoded instruction). Occurrences counting is proportional to the number of prefixes in a 16B-line. This may result in the following penalties: three-cycle penalty for each LCP in a 16-byte chunk.", 57534cb72efSIan Rogers "SampleAfterValue": "2000003", 57634cb72efSIan Rogers "UMask": "0x1" 57734cb72efSIan Rogers }, 57834cb72efSIan Rogers { 57934cb72efSIan Rogers "BriefDescription": "Instructions retired from execution.", 580*6a8ec0b6SIan Rogers "Counter": "Fixed counter 0", 58134cb72efSIan Rogers "EventName": "INST_RETIRED.ANY", 58234cb72efSIan Rogers "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. \nNotes: INST_RETIRED.ANY is counted by a designated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. INST_RETIRED.ANY_P is counted by a programmable counter and it is an architectural performance event. \nCounting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.", 58334cb72efSIan Rogers "SampleAfterValue": "2000003", 58434cb72efSIan Rogers "UMask": "0x1" 58534cb72efSIan Rogers }, 58634cb72efSIan Rogers { 58734cb72efSIan Rogers "BriefDescription": "Number of instructions retired. General Counter - architectural event", 588*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 58934cb72efSIan Rogers "Errata": "BDM61", 59034cb72efSIan Rogers "EventCode": "0xC0", 59134cb72efSIan Rogers "EventName": "INST_RETIRED.ANY_P", 59234cb72efSIan Rogers "PublicDescription": "This event counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).", 59334cb72efSIan Rogers "SampleAfterValue": "2000003" 59434cb72efSIan Rogers }, 59534cb72efSIan Rogers { 59634cb72efSIan Rogers "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution", 597*6a8ec0b6SIan Rogers "Counter": "1", 59834cb72efSIan Rogers "Errata": "BDM11, BDM55", 59934cb72efSIan Rogers "EventCode": "0xC0", 60034cb72efSIan Rogers "EventName": "INST_RETIRED.PREC_DIST", 60134cb72efSIan Rogers "PEBS": "2", 60234cb72efSIan Rogers "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts instructions retired.", 60334cb72efSIan Rogers "SampleAfterValue": "2000003", 60434cb72efSIan Rogers "UMask": "0x1" 60534cb72efSIan Rogers }, 60634cb72efSIan Rogers { 60734cb72efSIan Rogers "BriefDescription": "FP operations retired. X87 FP operations that have no exceptions:", 608*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 60934cb72efSIan Rogers "EventCode": "0xC0", 61034cb72efSIan Rogers "EventName": "INST_RETIRED.X87", 61134cb72efSIan Rogers "PublicDescription": "This event counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.", 61234cb72efSIan Rogers "SampleAfterValue": "2000003", 61334cb72efSIan Rogers "UMask": "0x2" 61434cb72efSIan Rogers }, 61534cb72efSIan Rogers { 61634cb72efSIan Rogers "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread", 617*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 61834cb72efSIan Rogers "EventCode": "0x0D", 61934cb72efSIan Rogers "EventName": "INT_MISC.RAT_STALL_CYCLES", 62034cb72efSIan Rogers "PublicDescription": "This event counts the number of cycles during which Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the current thread. This also includes the cycles during which the Allocator is serving another thread.", 62134cb72efSIan Rogers "SampleAfterValue": "2000003", 62234cb72efSIan Rogers "UMask": "0x8" 62334cb72efSIan Rogers }, 62434cb72efSIan Rogers { 62534cb72efSIan Rogers "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)", 626*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 62734cb72efSIan Rogers "CounterMask": "1", 62834cb72efSIan Rogers "EventCode": "0x0D", 62934cb72efSIan Rogers "EventName": "INT_MISC.RECOVERY_CYCLES", 63034cb72efSIan Rogers "PublicDescription": "Cycles checkpoints in Resource Allocation Table (RAT) are recovering from JEClear or machine clear.", 63134cb72efSIan Rogers "SampleAfterValue": "2000003", 63234cb72efSIan Rogers "UMask": "0x3" 63334cb72efSIan Rogers }, 63434cb72efSIan Rogers { 63534cb72efSIan Rogers "AnyThread": "1", 63634cb72efSIan Rogers "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).", 637*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 63834cb72efSIan Rogers "CounterMask": "1", 63934cb72efSIan Rogers "EventCode": "0x0D", 64034cb72efSIan Rogers "EventName": "INT_MISC.RECOVERY_CYCLES_ANY", 64134cb72efSIan Rogers "SampleAfterValue": "2000003", 64234cb72efSIan Rogers "UMask": "0x3" 64334cb72efSIan Rogers }, 64434cb72efSIan Rogers { 64534cb72efSIan Rogers "BriefDescription": "This event counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 646*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 64734cb72efSIan Rogers "EventCode": "0x03", 64834cb72efSIan Rogers "EventName": "LD_BLOCKS.NO_SR", 64934cb72efSIan Rogers "SampleAfterValue": "100003", 65034cb72efSIan Rogers "UMask": "0x8" 65134cb72efSIan Rogers }, 65234cb72efSIan Rogers { 65334cb72efSIan Rogers "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding", 654*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 65534cb72efSIan Rogers "EventCode": "0x03", 65634cb72efSIan Rogers "EventName": "LD_BLOCKS.STORE_FORWARD", 65734cb72efSIan Rogers "PublicDescription": "This event counts how many times the load operation got the true Block-on-Store blocking code preventing store forwarding. This includes cases when:\n - preceding store conflicts with the load (incomplete overlap);\n - store forwarding is impossible due to u-arch limitations;\n - preceding lock RMW operations are not forwarded;\n - store has the no-forward bit set (uncacheable/page-split/masked stores);\n - all-blocking stores are used (mostly, fences and port I/O);\nand others.\nThe most common case is a load blocked due to its address range overlapping with a preceding smaller uncompleted store. Note: This event does not take into account cases of out-of-SW-control (for example, SbTailHit), unknown physical STA, and cases of blocking loads on store due to being non-WB memory type or a lock. These cases are covered by other events.\nSee the table of not supported store forwards in the Optimization Guide.", 65834cb72efSIan Rogers "SampleAfterValue": "100003", 65934cb72efSIan Rogers "UMask": "0x2" 66034cb72efSIan Rogers }, 66134cb72efSIan Rogers { 66234cb72efSIan Rogers "BriefDescription": "False dependencies in MOB due to partial compare", 663*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 66434cb72efSIan Rogers "EventCode": "0x07", 66534cb72efSIan Rogers "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS", 66634cb72efSIan Rogers "PublicDescription": "This event counts false dependencies in MOB when the partial comparison upon loose net check and dependency was resolved by the Enhanced Loose net mechanism. This may not result in high performance penalties. Loose net checks can fail when loads and stores are 4k aliased.", 66734cb72efSIan Rogers "SampleAfterValue": "100003", 66834cb72efSIan Rogers "UMask": "0x1" 66934cb72efSIan Rogers }, 67034cb72efSIan Rogers { 67134cb72efSIan Rogers "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch", 672*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 67334cb72efSIan Rogers "EventCode": "0x4C", 67434cb72efSIan Rogers "EventName": "LOAD_HIT_PRE.HW_PF", 67534cb72efSIan Rogers "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the hardware prefetch.", 67634cb72efSIan Rogers "SampleAfterValue": "100003", 67734cb72efSIan Rogers "UMask": "0x2" 67834cb72efSIan Rogers }, 67934cb72efSIan Rogers { 68034cb72efSIan Rogers "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch", 681*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 68234cb72efSIan Rogers "EventCode": "0x4c", 68334cb72efSIan Rogers "EventName": "LOAD_HIT_PRE.SW_PF", 68434cb72efSIan Rogers "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by asm inspection of the nearby instructions.", 68534cb72efSIan Rogers "SampleAfterValue": "100003", 68634cb72efSIan Rogers "UMask": "0x1" 68734cb72efSIan Rogers }, 68834cb72efSIan Rogers { 68934cb72efSIan Rogers "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.", 690*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 69134cb72efSIan Rogers "CounterMask": "4", 69234cb72efSIan Rogers "EventCode": "0xA8", 69334cb72efSIan Rogers "EventName": "LSD.CYCLES_4_UOPS", 69434cb72efSIan Rogers "SampleAfterValue": "2000003", 69534cb72efSIan Rogers "UMask": "0x1" 69634cb72efSIan Rogers }, 69734cb72efSIan Rogers { 69834cb72efSIan Rogers "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.", 699*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 70034cb72efSIan Rogers "CounterMask": "1", 70134cb72efSIan Rogers "EventCode": "0xA8", 70234cb72efSIan Rogers "EventName": "LSD.CYCLES_ACTIVE", 70334cb72efSIan Rogers "SampleAfterValue": "2000003", 70434cb72efSIan Rogers "UMask": "0x1" 70534cb72efSIan Rogers }, 70634cb72efSIan Rogers { 70734cb72efSIan Rogers "BriefDescription": "Number of Uops delivered by the LSD.", 708*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 70934cb72efSIan Rogers "EventCode": "0xA8", 71034cb72efSIan Rogers "EventName": "LSD.UOPS", 71134cb72efSIan Rogers "SampleAfterValue": "2000003", 71234cb72efSIan Rogers "UMask": "0x1" 71334cb72efSIan Rogers }, 71434cb72efSIan Rogers { 71534cb72efSIan Rogers "BriefDescription": "Number of machine clears (nukes) of any type.", 716*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 71734cb72efSIan Rogers "CounterMask": "1", 71834cb72efSIan Rogers "EdgeDetect": "1", 71934cb72efSIan Rogers "EventCode": "0xC3", 72034cb72efSIan Rogers "EventName": "MACHINE_CLEARS.COUNT", 72134cb72efSIan Rogers "SampleAfterValue": "100003", 72234cb72efSIan Rogers "UMask": "0x1" 72334cb72efSIan Rogers }, 72434cb72efSIan Rogers { 72534cb72efSIan Rogers "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.", 726*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 72734cb72efSIan Rogers "EventCode": "0xC3", 72834cb72efSIan Rogers "EventName": "MACHINE_CLEARS.CYCLES", 72934cb72efSIan Rogers "PublicDescription": "This event counts both thread-specific (TS) and all-thread (AT) nukes.", 73034cb72efSIan Rogers "SampleAfterValue": "2000003", 73134cb72efSIan Rogers "UMask": "0x1" 73234cb72efSIan Rogers }, 73334cb72efSIan Rogers { 73434cb72efSIan Rogers "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.", 735*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 73634cb72efSIan Rogers "EventCode": "0xC3", 73734cb72efSIan Rogers "EventName": "MACHINE_CLEARS.MASKMOV", 73834cb72efSIan Rogers "PublicDescription": "Maskmov false fault - counts number of time ucode passes through Maskmov flow due to instruction's mask being 0 while the flow was completed without raising a fault.", 73934cb72efSIan Rogers "SampleAfterValue": "100003", 74034cb72efSIan Rogers "UMask": "0x20" 74134cb72efSIan Rogers }, 74234cb72efSIan Rogers { 74334cb72efSIan Rogers "BriefDescription": "Self-modifying code (SMC) detected.", 744*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 74534cb72efSIan Rogers "EventCode": "0xC3", 74634cb72efSIan Rogers "EventName": "MACHINE_CLEARS.SMC", 74734cb72efSIan Rogers "PublicDescription": "This event counts self-modifying code (SMC) detected, which causes a machine clear.", 74834cb72efSIan Rogers "SampleAfterValue": "100003", 74934cb72efSIan Rogers "UMask": "0x4" 75034cb72efSIan Rogers }, 75134cb72efSIan Rogers { 75234cb72efSIan Rogers "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.", 753*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 75434cb72efSIan Rogers "EventCode": "0x58", 75534cb72efSIan Rogers "EventName": "MOVE_ELIMINATION.INT_ELIMINATED", 75634cb72efSIan Rogers "SampleAfterValue": "1000003", 75734cb72efSIan Rogers "UMask": "0x1" 75834cb72efSIan Rogers }, 75934cb72efSIan Rogers { 76034cb72efSIan Rogers "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.", 761*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 76234cb72efSIan Rogers "EventCode": "0x58", 76334cb72efSIan Rogers "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED", 76434cb72efSIan Rogers "SampleAfterValue": "1000003", 76534cb72efSIan Rogers "UMask": "0x4" 76634cb72efSIan Rogers }, 76734cb72efSIan Rogers { 76834cb72efSIan Rogers "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.", 769*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 77034cb72efSIan Rogers "EventCode": "0xC1", 77134cb72efSIan Rogers "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST", 77234cb72efSIan Rogers "SampleAfterValue": "100003", 77334cb72efSIan Rogers "UMask": "0x40" 77434cb72efSIan Rogers }, 77534cb72efSIan Rogers { 77634cb72efSIan Rogers "BriefDescription": "Resource-related stall cycles", 777*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 7788aae803fSIan Rogers "EventCode": "0xa2", 77934cb72efSIan Rogers "EventName": "RESOURCE_STALLS.ANY", 7808aae803fSIan Rogers "PublicDescription": "This event counts resource-related stall cycles.", 78134cb72efSIan Rogers "SampleAfterValue": "2000003", 78234cb72efSIan Rogers "UMask": "0x1" 78334cb72efSIan Rogers }, 78434cb72efSIan Rogers { 78534cb72efSIan Rogers "BriefDescription": "Cycles stalled due to re-order buffer full.", 786*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 78734cb72efSIan Rogers "EventCode": "0xA2", 78834cb72efSIan Rogers "EventName": "RESOURCE_STALLS.ROB", 78934cb72efSIan Rogers "PublicDescription": "This event counts ROB full stall cycles. This counts cycles that the pipeline backend blocked uop delivery from the front end.", 79034cb72efSIan Rogers "SampleAfterValue": "2000003", 79134cb72efSIan Rogers "UMask": "0x10" 79234cb72efSIan Rogers }, 79334cb72efSIan Rogers { 79434cb72efSIan Rogers "BriefDescription": "Cycles stalled due to no eligible RS entry available.", 795*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 79634cb72efSIan Rogers "EventCode": "0xA2", 79734cb72efSIan Rogers "EventName": "RESOURCE_STALLS.RS", 79834cb72efSIan Rogers "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.", 79934cb72efSIan Rogers "SampleAfterValue": "2000003", 80034cb72efSIan Rogers "UMask": "0x4" 80134cb72efSIan Rogers }, 80234cb72efSIan Rogers { 80334cb72efSIan Rogers "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).", 804*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 80534cb72efSIan Rogers "EventCode": "0xA2", 80634cb72efSIan Rogers "EventName": "RESOURCE_STALLS.SB", 80734cb72efSIan Rogers "PublicDescription": "This event counts stall cycles caused by the store buffer (SB) overflow (excluding draining from synch). This counts cycles that the pipeline backend blocked uop delivery from the front end.", 80834cb72efSIan Rogers "SampleAfterValue": "2000003", 80934cb72efSIan Rogers "UMask": "0x8" 81034cb72efSIan Rogers }, 81134cb72efSIan Rogers { 812fae0a4dfSAndi Kleen "BriefDescription": "Count cases of saving new LBR", 813*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 81434cb72efSIan Rogers "EventCode": "0xCC", 815fae0a4dfSAndi Kleen "EventName": "ROB_MISC_EVENTS.LBR_INSERTS", 816fae0a4dfSAndi Kleen "PublicDescription": "This event counts cases of saving new LBR records by hardware. This assumes proper enabling of LBRs and takes into account LBR filtering done by the LBR_SELECT register.", 817fae0a4dfSAndi Kleen "SampleAfterValue": "2000003", 81834cb72efSIan Rogers "UMask": "0x20" 819fae0a4dfSAndi Kleen }, 820fae0a4dfSAndi Kleen { 82134cb72efSIan Rogers "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread", 822*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 82334cb72efSIan Rogers "EventCode": "0x5E", 82434cb72efSIan Rogers "EventName": "RS_EVENTS.EMPTY_CYCLES", 82534cb72efSIan Rogers "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread.\nNote: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.", 82634cb72efSIan Rogers "SampleAfterValue": "2000003", 82734cb72efSIan Rogers "UMask": "0x1" 82834cb72efSIan Rogers }, 82934cb72efSIan Rogers { 83034cb72efSIan Rogers "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.", 831*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 83234cb72efSIan Rogers "CounterMask": "1", 83334cb72efSIan Rogers "EdgeDetect": "1", 83434cb72efSIan Rogers "EventCode": "0x5E", 83534cb72efSIan Rogers "EventName": "RS_EVENTS.EMPTY_END", 83634cb72efSIan Rogers "Invert": "1", 83734cb72efSIan Rogers "SampleAfterValue": "200003", 83834cb72efSIan Rogers "UMask": "0x1" 83934cb72efSIan Rogers }, 84034cb72efSIan Rogers { 84134cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 0", 842*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 84334cb72efSIan Rogers "EventCode": "0xA1", 84434cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_0", 84534cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.", 84634cb72efSIan Rogers "SampleAfterValue": "2000003", 84734cb72efSIan Rogers "UMask": "0x1" 84834cb72efSIan Rogers }, 84934cb72efSIan Rogers { 85034cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 1", 851*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 85234cb72efSIan Rogers "EventCode": "0xA1", 85334cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_1", 85434cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.", 85534cb72efSIan Rogers "SampleAfterValue": "2000003", 85634cb72efSIan Rogers "UMask": "0x2" 85734cb72efSIan Rogers }, 85834cb72efSIan Rogers { 85934cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 2", 860*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 86134cb72efSIan Rogers "EventCode": "0xA1", 86234cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_2", 86334cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.", 86434cb72efSIan Rogers "SampleAfterValue": "2000003", 86534cb72efSIan Rogers "UMask": "0x4" 86634cb72efSIan Rogers }, 86734cb72efSIan Rogers { 86834cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 3", 869*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 87034cb72efSIan Rogers "EventCode": "0xA1", 87134cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_3", 87234cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.", 87334cb72efSIan Rogers "SampleAfterValue": "2000003", 87434cb72efSIan Rogers "UMask": "0x8" 87534cb72efSIan Rogers }, 87634cb72efSIan Rogers { 87734cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 4", 878*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 87934cb72efSIan Rogers "EventCode": "0xA1", 88034cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_4", 88134cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.", 88234cb72efSIan Rogers "SampleAfterValue": "2000003", 88334cb72efSIan Rogers "UMask": "0x10" 88434cb72efSIan Rogers }, 88534cb72efSIan Rogers { 88634cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 5", 887*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 88834cb72efSIan Rogers "EventCode": "0xA1", 88934cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_5", 89034cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.", 89134cb72efSIan Rogers "SampleAfterValue": "2000003", 89234cb72efSIan Rogers "UMask": "0x20" 89334cb72efSIan Rogers }, 89434cb72efSIan Rogers { 89534cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 6", 896*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 89734cb72efSIan Rogers "EventCode": "0xA1", 89834cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_6", 89934cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.", 90034cb72efSIan Rogers "SampleAfterValue": "2000003", 90134cb72efSIan Rogers "UMask": "0x40" 90234cb72efSIan Rogers }, 90334cb72efSIan Rogers { 90434cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 7", 905*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 90634cb72efSIan Rogers "EventCode": "0xA1", 90734cb72efSIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_7", 90834cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.", 90934cb72efSIan Rogers "SampleAfterValue": "2000003", 91034cb72efSIan Rogers "UMask": "0x80" 91134cb72efSIan Rogers }, 91234cb72efSIan Rogers { 91334cb72efSIan Rogers "BriefDescription": "Number of uops executed on the core.", 914*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 91534cb72efSIan Rogers "EventCode": "0xB1", 91634cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE", 91734cb72efSIan Rogers "PublicDescription": "Number of uops executed from any thread.", 91834cb72efSIan Rogers "SampleAfterValue": "2000003", 91934cb72efSIan Rogers "UMask": "0x2" 92034cb72efSIan Rogers }, 92134cb72efSIan Rogers { 92234cb72efSIan Rogers "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.", 923*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 92434cb72efSIan Rogers "CounterMask": "1", 92534cb72efSIan Rogers "EventCode": "0xb1", 92634cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1", 92734cb72efSIan Rogers "SampleAfterValue": "2000003", 92834cb72efSIan Rogers "UMask": "0x2" 92934cb72efSIan Rogers }, 93034cb72efSIan Rogers { 93134cb72efSIan Rogers "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.", 932*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 93334cb72efSIan Rogers "CounterMask": "2", 93434cb72efSIan Rogers "EventCode": "0xb1", 93534cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2", 93634cb72efSIan Rogers "SampleAfterValue": "2000003", 93734cb72efSIan Rogers "UMask": "0x2" 93834cb72efSIan Rogers }, 93934cb72efSIan Rogers { 94034cb72efSIan Rogers "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.", 941*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 94234cb72efSIan Rogers "CounterMask": "3", 94334cb72efSIan Rogers "EventCode": "0xb1", 94434cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3", 94534cb72efSIan Rogers "SampleAfterValue": "2000003", 94634cb72efSIan Rogers "UMask": "0x2" 94734cb72efSIan Rogers }, 94834cb72efSIan Rogers { 94934cb72efSIan Rogers "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.", 950*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 95134cb72efSIan Rogers "CounterMask": "4", 95234cb72efSIan Rogers "EventCode": "0xb1", 95334cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4", 95434cb72efSIan Rogers "SampleAfterValue": "2000003", 95534cb72efSIan Rogers "UMask": "0x2" 95634cb72efSIan Rogers }, 95734cb72efSIan Rogers { 95834cb72efSIan Rogers "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.", 959*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 96034cb72efSIan Rogers "EventCode": "0xb1", 96134cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE", 96234cb72efSIan Rogers "Invert": "1", 96334cb72efSIan Rogers "SampleAfterValue": "2000003", 96434cb72efSIan Rogers "UMask": "0x2" 96534cb72efSIan Rogers }, 96634cb72efSIan Rogers { 96734cb72efSIan Rogers "BriefDescription": "Cycles where at least 1 uop was executed per-thread.", 968*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 96934cb72efSIan Rogers "CounterMask": "1", 97034cb72efSIan Rogers "EventCode": "0xB1", 97134cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC", 97234cb72efSIan Rogers "SampleAfterValue": "2000003", 97334cb72efSIan Rogers "UMask": "0x1" 97434cb72efSIan Rogers }, 97534cb72efSIan Rogers { 97634cb72efSIan Rogers "BriefDescription": "Cycles where at least 2 uops were executed per-thread.", 977*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 97834cb72efSIan Rogers "CounterMask": "2", 97934cb72efSIan Rogers "EventCode": "0xB1", 98034cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC", 98134cb72efSIan Rogers "SampleAfterValue": "2000003", 98234cb72efSIan Rogers "UMask": "0x1" 98334cb72efSIan Rogers }, 98434cb72efSIan Rogers { 98534cb72efSIan Rogers "BriefDescription": "Cycles where at least 3 uops were executed per-thread.", 986*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 98734cb72efSIan Rogers "CounterMask": "3", 98834cb72efSIan Rogers "EventCode": "0xB1", 98934cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC", 99034cb72efSIan Rogers "SampleAfterValue": "2000003", 99134cb72efSIan Rogers "UMask": "0x1" 99234cb72efSIan Rogers }, 99334cb72efSIan Rogers { 99434cb72efSIan Rogers "BriefDescription": "Cycles where at least 4 uops were executed per-thread.", 995*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 99634cb72efSIan Rogers "CounterMask": "4", 99734cb72efSIan Rogers "EventCode": "0xB1", 99834cb72efSIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC", 99934cb72efSIan Rogers "SampleAfterValue": "2000003", 100034cb72efSIan Rogers "UMask": "0x1" 100134cb72efSIan Rogers }, 100234cb72efSIan Rogers { 100334cb72efSIan Rogers "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.", 1004*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 100534cb72efSIan Rogers "CounterMask": "1", 100634cb72efSIan Rogers "EventCode": "0xB1", 100734cb72efSIan Rogers "EventName": "UOPS_EXECUTED.STALL_CYCLES", 100834cb72efSIan Rogers "Invert": "1", 100934cb72efSIan Rogers "PublicDescription": "This event counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.", 101034cb72efSIan Rogers "SampleAfterValue": "2000003", 101134cb72efSIan Rogers "UMask": "0x1" 101234cb72efSIan Rogers }, 101334cb72efSIan Rogers { 101434cb72efSIan Rogers "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.", 1015*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 101634cb72efSIan Rogers "EventCode": "0xB1", 101734cb72efSIan Rogers "EventName": "UOPS_EXECUTED.THREAD", 101834cb72efSIan Rogers "PublicDescription": "Number of uops to be executed per-thread each cycle.", 101934cb72efSIan Rogers "SampleAfterValue": "2000003", 102034cb72efSIan Rogers "UMask": "0x1" 102134cb72efSIan Rogers }, 102234cb72efSIan Rogers { 102334cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 0", 1024*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 102534cb72efSIan Rogers "EventCode": "0xA1", 102634cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_0", 102734cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.", 102834cb72efSIan Rogers "SampleAfterValue": "2000003", 102934cb72efSIan Rogers "UMask": "0x1" 103034cb72efSIan Rogers }, 103134cb72efSIan Rogers { 103234cb72efSIan Rogers "AnyThread": "1", 10338aae803fSIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 0.", 1034*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 103534cb72efSIan Rogers "EventCode": "0xA1", 103634cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE", 103734cb72efSIan Rogers "SampleAfterValue": "2000003", 103834cb72efSIan Rogers "UMask": "0x1" 103934cb72efSIan Rogers }, 104034cb72efSIan Rogers { 104134cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 1", 1042*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 104334cb72efSIan Rogers "EventCode": "0xA1", 104434cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_1", 104534cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.", 104634cb72efSIan Rogers "SampleAfterValue": "2000003", 104734cb72efSIan Rogers "UMask": "0x2" 104834cb72efSIan Rogers }, 104934cb72efSIan Rogers { 105034cb72efSIan Rogers "AnyThread": "1", 10518aae803fSIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 1.", 1052*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 105334cb72efSIan Rogers "EventCode": "0xA1", 105434cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE", 105534cb72efSIan Rogers "SampleAfterValue": "2000003", 105634cb72efSIan Rogers "UMask": "0x2" 105734cb72efSIan Rogers }, 105834cb72efSIan Rogers { 105934cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 2", 1060*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 106134cb72efSIan Rogers "EventCode": "0xA1", 106234cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_2", 106334cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.", 106434cb72efSIan Rogers "SampleAfterValue": "2000003", 106534cb72efSIan Rogers "UMask": "0x4" 106634cb72efSIan Rogers }, 106734cb72efSIan Rogers { 106834cb72efSIan Rogers "AnyThread": "1", 106934cb72efSIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 2.", 1070*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 107134cb72efSIan Rogers "EventCode": "0xA1", 107234cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE", 107334cb72efSIan Rogers "SampleAfterValue": "2000003", 107434cb72efSIan Rogers "UMask": "0x4" 107534cb72efSIan Rogers }, 107634cb72efSIan Rogers { 107734cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 3", 1078*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 107934cb72efSIan Rogers "EventCode": "0xA1", 108034cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_3", 108134cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.", 108234cb72efSIan Rogers "SampleAfterValue": "2000003", 108334cb72efSIan Rogers "UMask": "0x8" 108434cb72efSIan Rogers }, 108534cb72efSIan Rogers { 108634cb72efSIan Rogers "AnyThread": "1", 108734cb72efSIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 3.", 1088*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 108934cb72efSIan Rogers "EventCode": "0xA1", 109034cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE", 109134cb72efSIan Rogers "SampleAfterValue": "2000003", 109234cb72efSIan Rogers "UMask": "0x8" 109334cb72efSIan Rogers }, 109434cb72efSIan Rogers { 109534cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 4", 1096*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 109734cb72efSIan Rogers "EventCode": "0xA1", 109834cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_4", 109934cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.", 110034cb72efSIan Rogers "SampleAfterValue": "2000003", 110134cb72efSIan Rogers "UMask": "0x10" 110234cb72efSIan Rogers }, 110334cb72efSIan Rogers { 110434cb72efSIan Rogers "AnyThread": "1", 11058aae803fSIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 4.", 1106*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 110734cb72efSIan Rogers "EventCode": "0xA1", 110834cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE", 110934cb72efSIan Rogers "SampleAfterValue": "2000003", 111034cb72efSIan Rogers "UMask": "0x10" 111134cb72efSIan Rogers }, 111234cb72efSIan Rogers { 111334cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 5", 1114*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 111534cb72efSIan Rogers "EventCode": "0xA1", 111634cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_5", 111734cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.", 111834cb72efSIan Rogers "SampleAfterValue": "2000003", 111934cb72efSIan Rogers "UMask": "0x20" 112034cb72efSIan Rogers }, 112134cb72efSIan Rogers { 112234cb72efSIan Rogers "AnyThread": "1", 11238aae803fSIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 5.", 1124*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 112534cb72efSIan Rogers "EventCode": "0xA1", 112634cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE", 112734cb72efSIan Rogers "SampleAfterValue": "2000003", 112834cb72efSIan Rogers "UMask": "0x20" 112934cb72efSIan Rogers }, 113034cb72efSIan Rogers { 113134cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 6", 1132*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 113334cb72efSIan Rogers "EventCode": "0xA1", 113434cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_6", 113534cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.", 113634cb72efSIan Rogers "SampleAfterValue": "2000003", 113734cb72efSIan Rogers "UMask": "0x40" 113834cb72efSIan Rogers }, 113934cb72efSIan Rogers { 114034cb72efSIan Rogers "AnyThread": "1", 11418aae803fSIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 6.", 1142*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 114334cb72efSIan Rogers "EventCode": "0xA1", 114434cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE", 114534cb72efSIan Rogers "SampleAfterValue": "2000003", 114634cb72efSIan Rogers "UMask": "0x40" 114734cb72efSIan Rogers }, 114834cb72efSIan Rogers { 114934cb72efSIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 7", 1150*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 115134cb72efSIan Rogers "EventCode": "0xA1", 115234cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_7", 115334cb72efSIan Rogers "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.", 115434cb72efSIan Rogers "SampleAfterValue": "2000003", 115534cb72efSIan Rogers "UMask": "0x80" 115634cb72efSIan Rogers }, 115734cb72efSIan Rogers { 115834cb72efSIan Rogers "AnyThread": "1", 115934cb72efSIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 7.", 1160*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 116134cb72efSIan Rogers "EventCode": "0xA1", 116234cb72efSIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE", 116334cb72efSIan Rogers "SampleAfterValue": "2000003", 116434cb72efSIan Rogers "UMask": "0x80" 116534cb72efSIan Rogers }, 116634cb72efSIan Rogers { 116734cb72efSIan Rogers "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)", 1168*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 116934cb72efSIan Rogers "EventCode": "0x0E", 117034cb72efSIan Rogers "EventName": "UOPS_ISSUED.ANY", 117134cb72efSIan Rogers "PublicDescription": "This event counts the number of Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS).", 117234cb72efSIan Rogers "SampleAfterValue": "2000003", 117334cb72efSIan Rogers "UMask": "0x1" 117434cb72efSIan Rogers }, 117534cb72efSIan Rogers { 117634cb72efSIan Rogers "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.", 1177*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 117834cb72efSIan Rogers "EventCode": "0x0E", 117934cb72efSIan Rogers "EventName": "UOPS_ISSUED.FLAGS_MERGE", 118034cb72efSIan Rogers "PublicDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive\n added by GSR u-arch.", 118134cb72efSIan Rogers "SampleAfterValue": "2000003", 118234cb72efSIan Rogers "UMask": "0x10" 118334cb72efSIan Rogers }, 118434cb72efSIan Rogers { 118534cb72efSIan Rogers "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated.", 1186*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 118734cb72efSIan Rogers "EventCode": "0x0E", 118834cb72efSIan Rogers "EventName": "UOPS_ISSUED.SINGLE_MUL", 118934cb72efSIan Rogers "SampleAfterValue": "2000003", 119034cb72efSIan Rogers "UMask": "0x40" 119134cb72efSIan Rogers }, 119234cb72efSIan Rogers { 119334cb72efSIan Rogers "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.", 1194*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 119534cb72efSIan Rogers "EventCode": "0x0E", 119634cb72efSIan Rogers "EventName": "UOPS_ISSUED.SLOW_LEA", 119734cb72efSIan Rogers "SampleAfterValue": "2000003", 119834cb72efSIan Rogers "UMask": "0x20" 119934cb72efSIan Rogers }, 120034cb72efSIan Rogers { 120134cb72efSIan Rogers "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread", 1202*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 120334cb72efSIan Rogers "CounterMask": "1", 120434cb72efSIan Rogers "EventCode": "0x0E", 120534cb72efSIan Rogers "EventName": "UOPS_ISSUED.STALL_CYCLES", 120634cb72efSIan Rogers "Invert": "1", 120734cb72efSIan Rogers "PublicDescription": "This event counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.", 120834cb72efSIan Rogers "SampleAfterValue": "2000003", 120934cb72efSIan Rogers "UMask": "0x1" 121034cb72efSIan Rogers }, 121134cb72efSIan Rogers { 12128aae803fSIan Rogers "BriefDescription": "Actually retired uops.", 1213*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 121434cb72efSIan Rogers "EventCode": "0xC2", 121534cb72efSIan Rogers "EventName": "UOPS_RETIRED.ALL", 121634cb72efSIan Rogers "PEBS": "1", 12178aae803fSIan Rogers "PublicDescription": "This event counts all actually retired uops. Counting increments by two for micro-fused uops, and by one for macro-fused and other uops. Maximal increment value for one cycle is eight.", 121834cb72efSIan Rogers "SampleAfterValue": "2000003", 121934cb72efSIan Rogers "UMask": "0x1" 122034cb72efSIan Rogers }, 122134cb72efSIan Rogers { 12228aae803fSIan Rogers "BriefDescription": "Retirement slots used.", 1223*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 122434cb72efSIan Rogers "EventCode": "0xC2", 122534cb72efSIan Rogers "EventName": "UOPS_RETIRED.RETIRE_SLOTS", 122634cb72efSIan Rogers "PEBS": "1", 12278aae803fSIan Rogers "PublicDescription": "This event counts the number of retirement slots used.", 122834cb72efSIan Rogers "SampleAfterValue": "2000003", 122934cb72efSIan Rogers "UMask": "0x2" 123034cb72efSIan Rogers }, 123134cb72efSIan Rogers { 123234cb72efSIan Rogers "BriefDescription": "Cycles without actually retired uops.", 1233*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 123434cb72efSIan Rogers "CounterMask": "1", 123534cb72efSIan Rogers "EventCode": "0xC2", 123634cb72efSIan Rogers "EventName": "UOPS_RETIRED.STALL_CYCLES", 123734cb72efSIan Rogers "Invert": "1", 123834cb72efSIan Rogers "PublicDescription": "This event counts cycles without actually retired uops.", 123934cb72efSIan Rogers "SampleAfterValue": "2000003", 124034cb72efSIan Rogers "UMask": "0x1" 124134cb72efSIan Rogers }, 124234cb72efSIan Rogers { 124334cb72efSIan Rogers "BriefDescription": "Cycles with less than 10 actually retired uops.", 1244*6a8ec0b6SIan Rogers "Counter": "0,1,2,3", 12458aae803fSIan Rogers "CounterMask": "16", 124634cb72efSIan Rogers "EventCode": "0xC2", 124734cb72efSIan Rogers "EventName": "UOPS_RETIRED.TOTAL_CYCLES", 124834cb72efSIan Rogers "Invert": "1", 124934cb72efSIan Rogers "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.", 125034cb72efSIan Rogers "SampleAfterValue": "2000003", 125134cb72efSIan Rogers "UMask": "0x1" 125227b565b1SAndi Kleen } 125327b565b1SAndi Kleen] 1254