1bf215546Sopenharmony_ci<!-- 2bf215546Sopenharmony_ciCopyright © 2017-2020 ARM Limited. 3bf215546Sopenharmony_ciCopyright © 2021-2022 Collabora, Ltd. 4bf215546Sopenharmony_ciAuthor: Antonio Caggiano <antonio.caggiano@collabora.com> 5bf215546Sopenharmony_ci 6bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a 7bf215546Sopenharmony_cicopy of this software and associated documentation files (the "Software"), 8bf215546Sopenharmony_cito deal in the Software without restriction, including without limitation 9bf215546Sopenharmony_cithe rights to use, copy, modify, merge, publish, distribute, sublicense, 10bf215546Sopenharmony_ciand/or sell copies of the Software, and to permit persons to whom the 11bf215546Sopenharmony_ciSoftware is furnished to do so, subject to the following conditions: 12bf215546Sopenharmony_ci 13bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the next 14bf215546Sopenharmony_ciparagraph) shall be included in all copies or substantial portions of the 15bf215546Sopenharmony_ciSoftware. 16bf215546Sopenharmony_ci 17bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18bf215546Sopenharmony_ciIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19bf215546Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20bf215546Sopenharmony_ciTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21bf215546Sopenharmony_ciLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22bf215546Sopenharmony_ciOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23bf215546Sopenharmony_ciSOFTWARE. 24bf215546Sopenharmony_ci--> 25bf215546Sopenharmony_ci<metrics id="T76x"> 26bf215546Sopenharmony_ci <category name="Job Manager" per_cpu="no"> 27bf215546Sopenharmony_ci <event offset="6" counter="GPU_ACTIVE" title="Job Manager Cycles" name="GPU cycles" description="Number of cycles GPU active" units="cycles"/> 28bf215546Sopenharmony_ci <event offset="7" counter="IRQ_ACTIVE" title="Job Manager Cycles" name="IRQ cycles" description="Number of cycles GPU interrupt pending" units="cycles"/> 29bf215546Sopenharmony_ci <event offset="10" counter="JS0_ACTIVE" title="Job Manager Cycles" name="JS0 cycles" description="Number of cycles JS0 (fragment) active" units="cycles"/> 30bf215546Sopenharmony_ci <event offset="18" counter="JS1_ACTIVE" title="Job Manager Cycles" name="JS1 cycles" description="Number of cycles JS1 (vertex/tiler/compute) active" units="cycles"/> 31bf215546Sopenharmony_ci <event offset="26" counter="JS2_ACTIVE" title="Job Manager Cycles" name="JS2 cycles" description="Number of cycles JS2 (vertex/compute) active" units="cycles"/> 32bf215546Sopenharmony_ci <event offset="8" counter="JS0_JOBS" title="Job Manager Jobs" name="JS0 jobs" description="Number of Jobs (fragment) completed in JS0" units="jobs"/> 33bf215546Sopenharmony_ci <event offset="16" counter="JS1_JOBS" title="Job Manager Jobs" name="JS1 jobs" description="Number of Jobs (vertex/tiler/compute) completed in JS1" units="jobs"/> 34bf215546Sopenharmony_ci <event offset="24" counter="JS2_JOBS" title="Job Manager Jobs" name="JS2 jobs" description="Number of Jobs (vertex/compute) completed in JS2" units="jobs"/> 35bf215546Sopenharmony_ci <event offset="9" counter="JS0_TASKS" title="Job Manager" name="Pixels" description="Number of Pixels completed in JS0" multiplier="1024" units="pixels"/> 36bf215546Sopenharmony_ci <event offset="17" counter="JS1_TASKS" title="Job Manager Tasks" name="JS1 tasks" description="Number of Tasks completed in JS1" units="tasks"/> 37bf215546Sopenharmony_ci <event offset="25" counter="JS2_TASKS" title="Job Manager Tasks" name="JS2 tasks" description="Number of Tasks completed in JS2" units="tasks"/> 38bf215546Sopenharmony_ci </category> 39bf215546Sopenharmony_ci <category name="Tiler" per_cpu="no"> 40bf215546Sopenharmony_ci <event offset="45" counter="TI_ACTIVE" title="Tiler Cycles" name="Tiler cycles" description="Number of cycles Tiler active" units="cycles"/> 41bf215546Sopenharmony_ci <event offset="6" counter="TI_POLYGONS" title="Tiler Primitives" name="Polygons" description="Number of polygons processed" units="primitives"/> 42bf215546Sopenharmony_ci <event offset="5" counter="TI_QUADS" title="Tiler Primitives" name="Quads" description="Number of quads processed" units="primitives"/> 43bf215546Sopenharmony_ci <event offset="4" counter="TI_TRIANGLES" title="Tiler Primitives" name="Triangles" description="Number of triangles processed" units="primitives"/> 44bf215546Sopenharmony_ci <event offset="8" counter="TI_LINES" title="Tiler Primitives" name="Lines" description="Number of lines processed" units="primitives"/> 45bf215546Sopenharmony_ci <event offset="7" counter="TI_POINTS" title="Tiler Primitives" name="Points" description="Number of points processed" units="primitives"/> 46bf215546Sopenharmony_ci <event offset="11" counter="TI_FRONT_FACING" title="Tiler Culling" name="Front facing prims" description="Number of front facing primitives" units="primitives"/> 47bf215546Sopenharmony_ci <event offset="12" counter="TI_BACK_FACING" title="Tiler Culling" name="Back facing prims" description="Number of back facing primitives" units="primitives"/> 48bf215546Sopenharmony_ci <event offset="13" counter="TI_PRIM_VISIBLE" title="Tiler Culling" name="Visible prims" description="Number of visible primitives" units="primitives"/> 49bf215546Sopenharmony_ci <event offset="14" counter="TI_PRIM_CULLED" title="Tiler Culling" name="Culled prims" description="Number of culled primitives" units="primitives"/> 50bf215546Sopenharmony_ci <event offset="15" counter="TI_PRIM_CLIPPED" title="Tiler Culling" name="Clipped prims" description="Number of clipped primitives" units="primitives"/> 51bf215546Sopenharmony_ci <event offset="16" counter="TI_LEVEL0" title="Tiler Hierarchy" name="L0 prims" description="Number of primitives in hierarchy level 0" units="primitives"/> 52bf215546Sopenharmony_ci <event offset="17" counter="TI_LEVEL1" title="Tiler Hierarchy" name="L1 prims" description="Number of primitives in hierarchy level 1" units="primitives"/> 53bf215546Sopenharmony_ci <event offset="18" counter="TI_LEVEL2" title="Tiler Hierarchy" name="L2 prims" description="Number of primitives in hierarchy level 2" units="primitives"/> 54bf215546Sopenharmony_ci <event offset="19" counter="TI_LEVEL3" title="Tiler Hierarchy" name="L3 prims" description="Number of primitives in hierarchy level 3" units="primitives"/> 55bf215546Sopenharmony_ci <event offset="20" counter="TI_LEVEL4" title="Tiler Hierarchy" name="L4 prims" description="Number of primitives in hierarchy level 4" units="primitives"/> 56bf215546Sopenharmony_ci <event offset="21" counter="TI_LEVEL5" title="Tiler Hierarchy" name="L5 prims" description="Number of primitives in hierarchy level 5" units="primitives"/> 57bf215546Sopenharmony_ci <event offset="22" counter="TI_LEVEL6" title="Tiler Hierarchy" name="L6 prims" description="Number of primitives in hierarchy level 6" units="primitives"/> 58bf215546Sopenharmony_ci <event offset="23" counter="TI_LEVEL7" title="Tiler Hierarchy" name="L7 prims" description="Number of primitives in hierarchy level 7" units="primitives"/> 59bf215546Sopenharmony_ci </category> 60bf215546Sopenharmony_ci <category name="L2 Cache" per_cpu="no"> 61bf215546Sopenharmony_ci <event offset="33" counter="L2_READ_LOOKUP" title="L2 Cache Reads" name="L2 read lookups" description="Number of reads into the L2 cache" units="requests"/> 62bf215546Sopenharmony_ci <event offset="36" counter="L2_READ_SNOOP" title="L2 Cache Reads" name="Read snoops" description="Number of read transaction snoops" units="requests"/> 63bf215546Sopenharmony_ci <event offset="37" counter="L2_READ_HIT" title="L2 Cache Reads" name="L2 read hits" description="Number of reads hitting in the L2 cache" units="requests"/> 64bf215546Sopenharmony_ci <event offset="42" counter="L2_WRITE_SNOOP" title="L2 Cache Writes" name="Write snoops" description="Number of write transaction snoops" units="requests"/> 65bf215546Sopenharmony_ci <event offset="43" counter="L2_WRITE_HIT" title="L2 Cache Writes" name="L2 write hits" description="Number of writes hitting in the L2 cache" units="requests"/> 66bf215546Sopenharmony_ci <event offset="39" counter="L2_WRITE_LOOKUP" title="L2 Cache Writes" name="L2 write lookups" description="Number of writes into the L2 cache" units="requests"/> 67bf215546Sopenharmony_ci <event offset="31" counter="L2_EXT_READ_BEATS" title="L2 Cache Ext Reads" name="External read bytes" description="Number of external bus read bytes" multiplier="16" units="bytes"/> 68bf215546Sopenharmony_ci <event offset="54" counter="L2_EXT_AR_STALL" title="L2 Cache Ext Reads" name="External bus stalls (AR)" description="Number of cycles a valid read address (AR) is stalled by the external interconnect" units="cycles"/> 69bf215546Sopenharmony_ci <event offset="60" counter="L2_EXT_R_BUF_FULL" title="L2 Cache Ext Reads" name="External bus response buffer full" description="Number of cycles a valid request is blocked by a full response buffer" units="cycles"/> 70bf215546Sopenharmony_ci <event offset="56" counter="L2_EXT_RD_BUF_FULL" title="L2 Cache Ext Reads" name="External bus read data buffer full" description="Number of cycles a valid request is blocked by a full read data buffer" units="cycles"/> 71bf215546Sopenharmony_ci <event offset="30" counter="L2_EXT_WRITE_BEATS" title="L2 Cache Ext Writes" name="External write bytes" description="Number of external bus write bytes" multiplier="16" units="bytes"/> 72bf215546Sopenharmony_ci <event offset="58" counter="L2_EXT_W_STALL" title="L2 Cache Ext Writes" name="External bus stalls (W)" description="Number of cycles a valid write data (W channel) is stalled by the external interconnect" units="cycles"/> 73bf215546Sopenharmony_ci <event offset="59" counter="L2_EXT_W_BUF_FULL" title="L2 Cache Ext Writes" name="External bus write buffer full" description="Number of cycles a valid request is blocked by a full write buffer" units="cycles"/> 74bf215546Sopenharmony_ci </category> 75bf215546Sopenharmony_ci <category name="Shader Core" per_cpu="no"> 76bf215546Sopenharmony_ci <event offset="26" counter="TRIPIPE_ACTIVE" title="Core Cycles" name="Tripipe cycles" description="Number of cycles tripipe was active" units="cycles"/> 77bf215546Sopenharmony_ci <event offset="4" counter="FRAG_ACTIVE" title="Core Cycles" name="Fragment cycles" description="Number of cycles fragment processing was active" units="cycles"/> 78bf215546Sopenharmony_ci <event offset="22" counter="COMPUTE_ACTIVE" title="Core Cycles" name="Compute cycles" description="Number of cycles vertex\compute processing was active" units="cycles"/> 79bf215546Sopenharmony_ci <event offset="19" counter="FRAG_CYCLES_NO_TILE" title="Core Cycles" name="Fragment cycles waiting for tile" description="Number of cycles spent waiting for a physical tile buffer" units="cycles"/> 80bf215546Sopenharmony_ci <event offset="8" counter="FRAG_CYCLES_FPKQ_ACTIVE" title="Core Cycles" name="Fragment cycles pre-pipe buffer not empty" description="Number of cycles the pre-pipe queue contains quads" units="cycles"/> 81bf215546Sopenharmony_ci <event offset="12" counter="FRAG_THREADS" title="Fragment Threads" name="Fragment threads" description="Number of fragment threads started" units="threads"/> 82bf215546Sopenharmony_ci <event offset="13" counter="FRAG_DUMMY_THREADS" title="Fragment Threads" name="Dummy fragment threads" description="Number of dummy fragment threads started" units="threads"/> 83bf215546Sopenharmony_ci <event offset="17" counter="FRAG_THREADS_LZS_TEST" title="Fragment Threads" name="Fragment threads doing late ZS" description="Number of threads doing late ZS test" units="threads"/> 84bf215546Sopenharmony_ci <event offset="18" counter="FRAG_THREADS_LZS_KILLED" title="Fragment Threads" name="Fragment threads killed late ZS" description="Number of threads killed by late ZS test" units="threads"/> 85bf215546Sopenharmony_ci <event offset="23" counter="COMPUTE_TASKS" title="Compute Tasks" name="Compute tasks" description="Number of compute tasks" units="tasks"/> 86bf215546Sopenharmony_ci <event offset="24" counter="COMPUTE_THREADS" title="Compute Threads" name="Compute threads" description="Number of compute threads started" units="threads"/> 87bf215546Sopenharmony_ci <event offset="5" counter="FRAG_PRIMITIVES" title="Fragment Primitives" name="Primitives loaded" description="Number of primitives loaded from tiler" units="primitives"/> 88bf215546Sopenharmony_ci <event offset="6" counter="FRAG_PRIMITIVES_DROPPED" title="Fragment Primitives" name="Primitives dropped" description="Number of primitives dropped because out of tile" units="primitives"/> 89bf215546Sopenharmony_ci <event offset="14" counter="FRAG_QUADS_RAST" title="Fragment Quads" name="Quads rasterized" description="Number of quads rasterized" units="quads"/> 90bf215546Sopenharmony_ci <event offset="15" counter="FRAG_QUADS_EZS_TEST" title="Fragment Quads" name="Quads doing early ZS" description="Number of quads doing early ZS test" units="quads"/> 91bf215546Sopenharmony_ci <event offset="16" counter="FRAG_QUADS_EZS_KILLED" title="Fragment Quads" name="Quads killed early Z" description="Number of quads killed by early ZS test" units="quads"/> 92bf215546Sopenharmony_ci <event offset="20" counter="FRAG_NUM_TILES" title="Fragment" name="Pixels" description="Number of pixels rendered" multiplier="1024" units="pixels"/> 93bf215546Sopenharmony_ci <event offset="21" counter="FRAG_TRANS_ELIM" title="Fragment Tasks" name="Tile writes killed by TE" description="Number of tile writes skipped by transaction elimination" units="tiles"/> 94bf215546Sopenharmony_ci <event offset="27" counter="ARITH_WORDS" title="Arithmetic Pipe" name="A instructions" description="Number of instructions completed by the the A-pipe (normalized per pipeline)" units="instructions"/> 95bf215546Sopenharmony_ci <event offset="31" counter="LS_WORDS" title="Load/Store Pipe" name="LS instructions" description="Number of instructions completed by the LS-pipe" units="instructions"/> 96bf215546Sopenharmony_ci <event offset="32" counter="LS_ISSUES" title="Load/Store Pipe" name="LS instruction issues" description="Number of instructions issued to the LS-pipe, including restarts" units="instructions"/> 97bf215546Sopenharmony_ci <event offset="38" counter="TEX_WORDS" title="Texture Pipe" name="T instructions" description="Number of instructions completed by the T-pipe" units="instructions"/> 98bf215546Sopenharmony_ci <event offset="42" counter="TEX_ISSUES" title="Texture Pipe" name="T instruction issues" description="Number of threads through loop 2 address calculation" units="instructions"/> 99bf215546Sopenharmony_ci <event offset="43" counter="TEX_RECIRC_FMISS" title="Texture Pipe" name="Cache misses" description="Number of instructions in the T-pipe, recirculated due to cache miss" units="requests"/> 100bf215546Sopenharmony_ci <event offset="49" counter="LSC_READ_OP" title="Load/Store Cache Reads" name="Read operations" description="Number of read operations in the Load/Store cache" units="requests"/> 101bf215546Sopenharmony_ci <event offset="48" counter="LSC_READ_HITS" title="Load/Store Cache Reads" name="Read hits" description="Number of read hits in the Load/Store cache" units="requests"/> 102bf215546Sopenharmony_ci <event offset="51" counter="LSC_WRITE_OP" title="Load/Store Cache Writes" name="Write operations" description="Number of write operations in the Load/Store cache" units="requests"/> 103bf215546Sopenharmony_ci <event offset="50" counter="LSC_WRITE_HITS" title="Load/Store Cache Writes" name="Write hits" description="Number of write hits in the Load/Store cache" units="requests"/> 104bf215546Sopenharmony_ci <event offset="53" counter="LSC_ATOMIC_OP" title="Load/Store Cache Atomics" name="Atomic operations" description="Number of atomic operations in the Load/Store cache" units="requests"/> 105bf215546Sopenharmony_ci <event offset="52" counter="LSC_ATOMIC_HITS" title="Load/Store Cache Atomics" name="Atomic hits" description="Number of atomic hits in the Load/Store cache" units="requests"/> 106bf215546Sopenharmony_ci <event offset="54" counter="LSC_LINE_FETCHES" title="Load/Store Cache Bus" name="Line fetches" description="Number of line fetches in the Load/Store cache" units="requests"/> 107bf215546Sopenharmony_ci <event offset="55" counter="LSC_DIRTY_LINE" title="Load/Store Cache Bus" name="Dirty line evictions" description="Number of dirty line evictions in the Load/Store cache" units="requests"/> 108bf215546Sopenharmony_ci <event offset="56" counter="LSC_SNOOPS" title="Load/Store Cache Bus" name="Snoops in to LSC" description="Number of coherent memory snoops in to the Load/Store cache" units="requests"/> 109bf215546Sopenharmony_ci </category> 110bf215546Sopenharmony_ci</metrics>