1c4e1dc4aSJohn Garry[ 2c4e1dc4aSJohn Garry { 3c4e1dc4aSJohn Garry "MetricExpr": "FETCH_BUBBLE / (4 * CPU_CYCLES)", 4c4e1dc4aSJohn Garry "PublicDescription": "Frontend bound L1 topdown metric", 5c4e1dc4aSJohn Garry "BriefDescription": "Frontend bound L1 topdown metric", 6c4e1dc4aSJohn Garry "MetricGroup": "TopDownL1", 7c4e1dc4aSJohn Garry "MetricName": "frontend_bound" 8c4e1dc4aSJohn Garry }, 9c4e1dc4aSJohn Garry { 10c4e1dc4aSJohn Garry "MetricExpr": "(INST_SPEC - INST_RETIRED) / (4 * CPU_CYCLES)", 11c4e1dc4aSJohn Garry "PublicDescription": "Bad Speculation L1 topdown metric", 12c4e1dc4aSJohn Garry "BriefDescription": "Bad Speculation L1 topdown metric", 13c4e1dc4aSJohn Garry "MetricGroup": "TopDownL1", 14c4e1dc4aSJohn Garry "MetricName": "bad_speculation" 15c4e1dc4aSJohn Garry }, 16c4e1dc4aSJohn Garry { 17c4e1dc4aSJohn Garry "MetricExpr": "INST_RETIRED / (CPU_CYCLES * 4)", 18c4e1dc4aSJohn Garry "PublicDescription": "Retiring L1 topdown metric", 19c4e1dc4aSJohn Garry "BriefDescription": "Retiring L1 topdown metric", 20c4e1dc4aSJohn Garry "MetricGroup": "TopDownL1", 21c4e1dc4aSJohn Garry "MetricName": "retiring" 22c4e1dc4aSJohn Garry }, 23c4e1dc4aSJohn Garry { 24c4e1dc4aSJohn Garry "MetricExpr": "1 - (frontend_bound + bad_speculation + retiring)", 25c4e1dc4aSJohn Garry "PublicDescription": "Backend Bound L1 topdown metric", 26c4e1dc4aSJohn Garry "BriefDescription": "Backend Bound L1 topdown metric", 27c4e1dc4aSJohn Garry "MetricGroup": "TopDownL1", 28c4e1dc4aSJohn Garry "MetricName": "backend_bound" 29c4e1dc4aSJohn Garry }, 3003837173SJohn Garry { 3103837173SJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x201d@ / CPU_CYCLES", 3203837173SJohn Garry "PublicDescription": "Fetch latency bound L2 topdown metric", 3303837173SJohn Garry "BriefDescription": "Fetch latency bound L2 topdown metric", 3403837173SJohn Garry "MetricGroup": "TopDownL2", 3503837173SJohn Garry "MetricName": "fetch_latency_bound" 3603837173SJohn Garry }, 3703837173SJohn Garry { 3803837173SJohn Garry "MetricExpr": "frontend_bound - fetch_latency_bound", 3903837173SJohn Garry "PublicDescription": "Fetch bandwidth bound L2 topdown metric", 4003837173SJohn Garry "BriefDescription": "Fetch bandwidth bound L2 topdown metric", 4103837173SJohn Garry "MetricGroup": "TopDownL2", 4203837173SJohn Garry "MetricName": "fetch_bandwidth_bound" 4303837173SJohn Garry }, 4403837173SJohn Garry { 4503837173SJohn Garry "MetricExpr": "(bad_speculation * BR_MIS_PRED) / (BR_MIS_PRED + armv8_pmuv3_0@event\\=0x2013@)", 4603837173SJohn Garry "PublicDescription": "Branch mispredicts L2 topdown metric", 4703837173SJohn Garry "BriefDescription": "Branch mispredicts L2 topdown metric", 4803837173SJohn Garry "MetricGroup": "TopDownL2", 4903837173SJohn Garry "MetricName": "branch_mispredicts" 5003837173SJohn Garry }, 5103837173SJohn Garry { 5203837173SJohn Garry "MetricExpr": "bad_speculation - branch_mispredicts", 5303837173SJohn Garry "PublicDescription": "Machine clears L2 topdown metric", 5403837173SJohn Garry "BriefDescription": "Machine clears L2 topdown metric", 5503837173SJohn Garry "MetricGroup": "TopDownL2", 5603837173SJohn Garry "MetricName": "machine_clears" 5703837173SJohn Garry }, 5803837173SJohn Garry { 5903837173SJohn Garry "MetricExpr": "(EXE_STALL_CYCLE - (MEM_STALL_ANYLOAD + armv8_pmuv3_0@event\\=0x7005@)) / CPU_CYCLES", 6003837173SJohn Garry "PublicDescription": "Core bound L2 topdown metric", 6103837173SJohn Garry "BriefDescription": "Core bound L2 topdown metric", 6203837173SJohn Garry "MetricGroup": "TopDownL2", 6303837173SJohn Garry "MetricName": "core_bound" 6403837173SJohn Garry }, 6503837173SJohn Garry { 6603837173SJohn Garry "MetricExpr": "(MEM_STALL_ANYLOAD + armv8_pmuv3_0@event\\=0x7005@) / CPU_CYCLES", 6703837173SJohn Garry "PublicDescription": "Memory bound L2 topdown metric", 6803837173SJohn Garry "BriefDescription": "Memory bound L2 topdown metric", 6903837173SJohn Garry "MetricGroup": "TopDownL2", 7003837173SJohn Garry "MetricName": "memory_bound" 7103837173SJohn Garry }, 720cc177cfSJohn Garry { 730cc177cfSJohn Garry "MetricExpr": "(((L2I_TLB - L2I_TLB_REFILL) * 15) + (L2I_TLB_REFILL * 100)) / CPU_CYCLES", 740cc177cfSJohn Garry "PublicDescription": "Idle by itlb miss L3 topdown metric", 750cc177cfSJohn Garry "BriefDescription": "Idle by itlb miss L3 topdown metric", 760cc177cfSJohn Garry "MetricGroup": "TopDownL3", 770cc177cfSJohn Garry "MetricName": "idle_by_itlb_miss" 780cc177cfSJohn Garry }, 790cc177cfSJohn Garry { 800cc177cfSJohn Garry "MetricExpr": "(((L2I_CACHE - L2I_CACHE_REFILL) * 15) + (L2I_CACHE_REFILL * 100)) / CPU_CYCLES", 810cc177cfSJohn Garry "PublicDescription": "Idle by icache miss L3 topdown metric", 820cc177cfSJohn Garry "BriefDescription": "Idle by icache miss L3 topdown metric", 830cc177cfSJohn Garry "MetricGroup": "TopDownL3", 840cc177cfSJohn Garry "MetricName": "idle_by_icache_miss" 850cc177cfSJohn Garry }, 860cc177cfSJohn Garry { 870cc177cfSJohn Garry "MetricExpr": "(BR_MIS_PRED * 5) / CPU_CYCLES", 880cc177cfSJohn Garry "PublicDescription": "BP misp flush L3 topdown metric", 890cc177cfSJohn Garry "BriefDescription": "BP misp flush L3 topdown metric", 900cc177cfSJohn Garry "MetricGroup": "TopDownL3", 910cc177cfSJohn Garry "MetricName": "bp_misp_flush" 920cc177cfSJohn Garry }, 930cc177cfSJohn Garry { 940cc177cfSJohn Garry "MetricExpr": "(armv8_pmuv3_0@event\\=0x2013@ * 5) / CPU_CYCLES", 950cc177cfSJohn Garry "PublicDescription": "OOO flush L3 topdown metric", 960cc177cfSJohn Garry "BriefDescription": "OOO flush L3 topdown metric", 970cc177cfSJohn Garry "MetricGroup": "TopDownL3", 980cc177cfSJohn Garry "MetricName": "ooo_flush" 990cc177cfSJohn Garry }, 1000cc177cfSJohn Garry { 1010cc177cfSJohn Garry "MetricExpr": "(armv8_pmuv3_0@event\\=0x1001@ * 5) / CPU_CYCLES", 1020cc177cfSJohn Garry "PublicDescription": "Static predictor flush L3 topdown metric", 1030cc177cfSJohn Garry "BriefDescription": "Static predictor flush L3 topdown metric", 1040cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1050cc177cfSJohn Garry "MetricName": "sp_flush" 1060cc177cfSJohn Garry }, 1070cc177cfSJohn Garry { 1080cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x1010@ / BR_MIS_PRED", 1090cc177cfSJohn Garry "PublicDescription": "Indirect branch L3 topdown metric", 1100cc177cfSJohn Garry "BriefDescription": "Indirect branch L3 topdown metric", 1110cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1120cc177cfSJohn Garry "MetricName": "indirect_branch" 1130cc177cfSJohn Garry }, 1140cc177cfSJohn Garry { 1150cc177cfSJohn Garry "MetricExpr": "(armv8_pmuv3_0@event\\=0x1014@ + armv8_pmuv3_0@event\\=0x1018@) / BR_MIS_PRED", 1160cc177cfSJohn Garry "PublicDescription": "Push branch L3 topdown metric", 1170cc177cfSJohn Garry "BriefDescription": "Push branch L3 topdown metric", 1180cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1190cc177cfSJohn Garry "MetricName": "push_branch" 1200cc177cfSJohn Garry }, 1210cc177cfSJohn Garry { 1220cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x100c@ / BR_MIS_PRED", 1230cc177cfSJohn Garry "PublicDescription": "Pop branch L3 topdown metric", 1240cc177cfSJohn Garry "BriefDescription": "Pop branch L3 topdown metric", 1250cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1260cc177cfSJohn Garry "MetricName": "pop_branch" 1270cc177cfSJohn Garry }, 1280cc177cfSJohn Garry { 1290cc177cfSJohn Garry "MetricExpr": "(BR_MIS_PRED - armv8_pmuv3_0@event\\=0x1010@ - armv8_pmuv3_0@event\\=0x1014@ - armv8_pmuv3_0@event\\=0x1018@ - armv8_pmuv3_0@event\\=0x100c@) / BR_MIS_PRED", 1300cc177cfSJohn Garry "PublicDescription": "Other branch L3 topdown metric", 1310cc177cfSJohn Garry "BriefDescription": "Other branch L3 topdown metric", 1320cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1330cc177cfSJohn Garry "MetricName": "other_branch" 1340cc177cfSJohn Garry }, 1350cc177cfSJohn Garry { 1360cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x2012@ / armv8_pmuv3_0@event\\=0x2013@", 1370cc177cfSJohn Garry "PublicDescription": "Nuke flush L3 topdown metric", 1380cc177cfSJohn Garry "BriefDescription": "Nuke flush L3 topdown metric", 1390cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1400cc177cfSJohn Garry "MetricName": "nuke_flush" 1410cc177cfSJohn Garry }, 1420cc177cfSJohn Garry { 1430cc177cfSJohn Garry "MetricExpr": "1 - nuke_flush", 1440cc177cfSJohn Garry "PublicDescription": "Other flush L3 topdown metric", 1450cc177cfSJohn Garry "BriefDescription": "Other flush L3 topdown metric", 1460cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1470cc177cfSJohn Garry "MetricName": "other_flush" 1480cc177cfSJohn Garry }, 1490cc177cfSJohn Garry { 1500cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x2010@ / CPU_CYCLES", 1510cc177cfSJohn Garry "PublicDescription": "Sync stall L3 topdown metric", 1520cc177cfSJohn Garry "BriefDescription": "Sync stall L3 topdown metric", 1530cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1540cc177cfSJohn Garry "MetricName": "sync_stall" 1550cc177cfSJohn Garry }, 1560cc177cfSJohn Garry { 1570cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x2004@ / CPU_CYCLES", 1580cc177cfSJohn Garry "PublicDescription": "Rob stall L3 topdown metric", 1590cc177cfSJohn Garry "BriefDescription": "Rob stall L3 topdown metric", 1600cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1610cc177cfSJohn Garry "MetricName": "rob_stall" 1620cc177cfSJohn Garry }, 1630cc177cfSJohn Garry { 1640cc177cfSJohn Garry "MetricExpr": "(armv8_pmuv3_0@event\\=0x2006@ + armv8_pmuv3_0@event\\=0x2007@ + armv8_pmuv3_0@event\\=0x2008@) / CPU_CYCLES", 1650cc177cfSJohn Garry "PublicDescription": "Ptag stall L3 topdown metric", 1660cc177cfSJohn Garry "BriefDescription": "Ptag stall L3 topdown metric", 1670cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1680cc177cfSJohn Garry "MetricName": "ptag_stall" 1690cc177cfSJohn Garry }, 1700cc177cfSJohn Garry { 1710cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x201e@ / CPU_CYCLES", 1720cc177cfSJohn Garry "PublicDescription": "SaveOpQ stall L3 topdown metric", 1730cc177cfSJohn Garry "BriefDescription": "SaveOpQ stall L3 topdown metric", 1740cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1750cc177cfSJohn Garry "MetricName": "saveopq_stall" 1760cc177cfSJohn Garry }, 1770cc177cfSJohn Garry { 1780cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x2005@ / CPU_CYCLES", 1790cc177cfSJohn Garry "PublicDescription": "PC buffer stall L3 topdown metric", 1800cc177cfSJohn Garry "BriefDescription": "PC buffer stall L3 topdown metric", 1810cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1820cc177cfSJohn Garry "MetricName": "pc_buffer_stall" 1830cc177cfSJohn Garry }, 1840cc177cfSJohn Garry { 1850cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x7002@ / CPU_CYCLES", 1860cc177cfSJohn Garry "PublicDescription": "Divider L3 topdown metric", 1870cc177cfSJohn Garry "BriefDescription": "Divider L3 topdown metric", 1880cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1890cc177cfSJohn Garry "MetricName": "divider" 1900cc177cfSJohn Garry }, 1910cc177cfSJohn Garry { 1920cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x7003@ / CPU_CYCLES", 1930cc177cfSJohn Garry "PublicDescription": "FSU stall L3 topdown metric", 1940cc177cfSJohn Garry "BriefDescription": "FSU stall L3 topdown metric", 1950cc177cfSJohn Garry "MetricGroup": "TopDownL3", 1960cc177cfSJohn Garry "MetricName": "fsu_stall" 1970cc177cfSJohn Garry }, 1980cc177cfSJohn Garry { 1990cc177cfSJohn Garry "MetricExpr": "core_bound - divider - fsu_stall", 2000cc177cfSJohn Garry "PublicDescription": "EXE ports util L3 topdown metric", 2010cc177cfSJohn Garry "BriefDescription": "EXE ports util L3 topdown metric", 2020cc177cfSJohn Garry "MetricGroup": "TopDownL3", 2030cc177cfSJohn Garry "MetricName": "exe_ports_util" 2040cc177cfSJohn Garry }, 2050cc177cfSJohn Garry { 2060cc177cfSJohn Garry "MetricExpr": "(MEM_STALL_ANYLOAD - MEM_STALL_L1MISS) / CPU_CYCLES", 2070cc177cfSJohn Garry "PublicDescription": "L1 bound L3 topdown metric", 2080cc177cfSJohn Garry "BriefDescription": "L1 bound L3 topdown metric", 2090cc177cfSJohn Garry "MetricGroup": "TopDownL3", 2100cc177cfSJohn Garry "MetricName": "l1_bound" 2110cc177cfSJohn Garry }, 2120cc177cfSJohn Garry { 2130cc177cfSJohn Garry "MetricExpr": "(MEM_STALL_L1MISS - MEM_STALL_L2MISS) / CPU_CYCLES", 2140cc177cfSJohn Garry "PublicDescription": "L2 bound L3 topdown metric", 2150cc177cfSJohn Garry "BriefDescription": "L2 bound L3 topdown metric", 2160cc177cfSJohn Garry "MetricGroup": "TopDownL3", 2170cc177cfSJohn Garry "MetricName": "l2_bound" 2180cc177cfSJohn Garry }, 2190cc177cfSJohn Garry { 2200cc177cfSJohn Garry "MetricExpr": "MEM_STALL_L2MISS / CPU_CYCLES", 2210cc177cfSJohn Garry "PublicDescription": "Mem bound L3 topdown metric", 2220cc177cfSJohn Garry "BriefDescription": "Mem bound L3 topdown metric", 2230cc177cfSJohn Garry "MetricGroup": "TopDownL3", 2240cc177cfSJohn Garry "MetricName": "mem_bound" 2250cc177cfSJohn Garry }, 2260cc177cfSJohn Garry { 2270cc177cfSJohn Garry "MetricExpr": "armv8_pmuv3_0@event\\=0x7005@ / CPU_CYCLES", 2280cc177cfSJohn Garry "PublicDescription": "Store bound L3 topdown metric", 2290cc177cfSJohn Garry "BriefDescription": "Store bound L3 topdown metric", 2300cc177cfSJohn Garry "MetricGroup": "TopDownL3", 2310cc177cfSJohn Garry "MetricName": "store_bound" 232*08f3e087SJames Clark } 233c4e1dc4aSJohn Garry] 234