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="T72x"> 26bf215546Sopenharmony_ci <category name="Job Manager" per_cpu="no"> 27bf215546Sopenharmony_ci <event offset="4" counter="GPU_ACTIVE" title="Job Manager Cycles" name="GPU cycles" description="Number of cycles GPU active" units="cycles"/> 28bf215546Sopenharmony_ci <event offset="5" counter="IRQ_ACTIVE" title="Job Manager Cycles" name="IRQ cycles" description="Number of cycles GPU interrupt pending" units="cycles"/> 29bf215546Sopenharmony_ci <event offset="8" counter="JS0_ACTIVE" title="Job Manager Cycles" name="JS0 cycles" description="Number of cycles JS0 (fragment) active" units="cycles"/> 30bf215546Sopenharmony_ci <event offset="11" 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="14" counter="JS2_ACTIVE" title="Job Manager Cycles" name="JS2 cycles" description="Number of cycles JS2 (vertex/compute) active" units="cycles"/> 32bf215546Sopenharmony_ci <event offset="6" counter="JS0_JOBS" title="Job Manager Jobs" name="JS0 jobs" description="Number of Jobs (fragment) completed in JS0" units="jobs"/> 33bf215546Sopenharmony_ci <event offset="9" 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="12" 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="7" counter="JS0_TASKS" title="Job Manager" name="Pixels" description="Number of Pixels completed in JS0" multiplier="256" units="pixels"/> 36bf215546Sopenharmony_ci <event offset="10" counter="JS1_TASKS" title="Job Manager Tasks" name="JS1 tasks" description="Number of Tasks completed in JS1" units="tasks"/> 37bf215546Sopenharmony_ci <event offset="13" 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="22" 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="9" counter="TI_FRONT_FACING" title="Tiler Culling" name="Front facing prims" description="Number of front facing primitives" units="primitives"/> 47bf215546Sopenharmony_ci <event offset="10" counter="TI_BACK_FACING" title="Tiler Culling" name="Back facing prims" description="Number of back facing primitives" units="primitives"/> 48bf215546Sopenharmony_ci <event offset="11" counter="TI_PRIM_VISIBLE" title="Tiler Culling" name="Visible prims" description="Number of visible primitives" units="primitives"/> 49bf215546Sopenharmony_ci <event offset="12" counter="TI_PRIM_CULLED" title="Tiler Culling" name="Culled prims" description="Number of culled primitives" units="primitives"/> 50bf215546Sopenharmony_ci <event offset="13" counter="TI_PRIM_CLIPPED" title="Tiler Culling" name="Clipped prims" description="Number of clipped primitives" units="primitives"/> 51bf215546Sopenharmony_ci </category> 52bf215546Sopenharmony_ci <category name="L2 Cache" per_cpu="no"> 53bf215546Sopenharmony_ci <event offset="6" counter="L2_READ_SNOOP" title="L2 Cache Reads" name="Read snoops" description="Number of read transaction snoops" units="requests"/> 54bf215546Sopenharmony_ci <event offset="7" counter="L2_READ_HIT" title="L2 Cache Reads" name="L2 read hits" description="Number of reads hitting in the L2 cache" units="requests"/> 55bf215546Sopenharmony_ci <event offset="8" counter="L2_WRITE_SNOOP" title="L2 Cache Writes" name="Write snoops" description="Number of write transaction snoops" units="requests"/> 56bf215546Sopenharmony_ci <event offset="9" counter="L2_WRITE_HIT" title="L2 Cache Writes" name="L2 write hits" description="Number of writes hitting in the L2 cache" units="requests"/> 57bf215546Sopenharmony_ci <event offset="5" counter="L2_EXT_READ_BEAT" title="L2 Cache Ext Reads" name="External read bytes" description="Number of external bus read bytes" multiplier="16" units="bytes"/> 58bf215546Sopenharmony_ci <event offset="12" 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"/> 59bf215546Sopenharmony_ci <event offset="4" counter="L2_EXT_WRITE_BEAT" title="L2 Cache Ext Writes" name="External write bytes" description="Number of external bus write bytes" multiplier="16" units="bytes"/> 60bf215546Sopenharmony_ci <event offset="13" 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"/> 61bf215546Sopenharmony_ci </category> 62bf215546Sopenharmony_ci <category name="Shader Core" per_cpu="no"> 63bf215546Sopenharmony_ci <event offset="20" counter="TRIPIPE_ACTIVE" title="Core Cycles" name="Tripipe cycles" description="Number of cycles tripipe was active" units="cycles"/> 64bf215546Sopenharmony_ci <event offset="4" counter="FRAG_ACTIVE" title="Core Cycles" name="Fragment cycles" description="Number of cycles fragment processing was active" units="cycles"/> 65bf215546Sopenharmony_ci <event offset="17" counter="COMPUTE_ACTIVE" title="Core Cycles" name="Compute cycles" description="Number of cycles vertex\compute processing was active" units="cycles"/> 66bf215546Sopenharmony_ci <event offset="14" 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"/> 67bf215546Sopenharmony_ci <event offset="7" counter="FRAG_THREADS" title="Fragment Threads" name="Fragment threads" description="Number of fragment threads started" units="threads"/> 68bf215546Sopenharmony_ci <event offset="8" counter="FRAG_DUMMY_THREADS" title="Fragment Threads" name="Dummy fragment threads" description="Number of dummy fragment threads started" units="threads"/> 69bf215546Sopenharmony_ci <event offset="12" counter="FRAG_THREADS_LZS_TEST" title="Fragment Threads" name="Fragment threads doing late ZS" description="Number of threads doing late ZS test" units="threads"/> 70bf215546Sopenharmony_ci <event offset="13" 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"/> 71bf215546Sopenharmony_ci <event offset="18" counter="COMPUTE_TASKS" title="Compute Tasks" name="Compute tasks" description="Number of compute tasks" units="tasks"/> 72bf215546Sopenharmony_ci <event offset="19" counter="COMPUTE_THREADS" title="Compute Threads" name="Compute threads" description="Number of compute threads started" units="threads"/> 73bf215546Sopenharmony_ci <event offset="5" counter="FRAG_PRIMITIVES" title="Fragment Primitives" name="Primitives loaded" description="Number of primitives loaded from tiler" units="primitives"/> 74bf215546Sopenharmony_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"/> 75bf215546Sopenharmony_ci <event offset="9" counter="FRAG_QUADS_RAST" title="Fragment Quads" name="Quads rasterized" description="Number of quads rasterized" units="quads"/> 76bf215546Sopenharmony_ci <event offset="10" counter="FRAG_QUADS_EZS_TEST" title="Fragment Quads" name="Quads doing early ZS" description="Number of quads doing early ZS test" units="quads"/> 77bf215546Sopenharmony_ci <event offset="11" counter="FRAG_QUADS_EZS_KILLED" title="Fragment Quads" name="Quads killed early Z" description="Number of quads killed by early ZS test" units="quads"/> 78bf215546Sopenharmony_ci <event offset="15" counter="FRAG_NUM_TILES" title="Fragment" name="Pixels" description="Number of pixels rendered" multiplier="256" units="pixels"/> 79bf215546Sopenharmony_ci <event offset="16" counter="FRAG_TRANS_ELIM" title="Fragment Tasks" name="Tile writes killed by TE" description="Number of tile writes skipped by transaction elimination" units="tiles"/> 80bf215546Sopenharmony_ci <event offset="21" counter="ARITH_WORDS" title="Arithmetic Pipe" name="A instructions" description="Number of batched instructions executed by the A-pipe" units="instructions"/> 81bf215546Sopenharmony_ci <event offset="23" counter="LS_WORDS" title="Load/Store Pipe" name="LS instructions" description="Number of instructions completed by the LS-pipe" units="instructions"/> 82bf215546Sopenharmony_ci <event offset="24" counter="LS_ISSUES" title="Load/Store Pipe" name="LS instruction issues" description="Number of instructions issued to the LS-pipe, including restarts" units="instructions"/> 83bf215546Sopenharmony_ci <event offset="27" counter="TEX_WORDS" title="Texture Pipe" name="T instructions" description="Number of instructions completed by the T-pipe" units="instructions"/> 84bf215546Sopenharmony_ci <event offset="29" counter="TEX_ISSUES" title="Texture Pipe" name="T instruction issues" description="Number of threads through loop 2 address calculation" units="instructions"/> 85bf215546Sopenharmony_ci <event offset="30" counter="LSC_READ_HITS" title="Load/Store Cache Reads" name="Read hits" description="Number of read hits in the Load/Store cache" units="requests"/> 86bf215546Sopenharmony_ci <event offset="31" counter="LSC_READ_MISSES" title="Load/Store Cache Reads" name="Read misses" description="Number of read misses in the Load/Store cache" units="requests"/> 87bf215546Sopenharmony_ci <event offset="32" counter="LSC_WRITE_HITS" title="Load/Store Cache Writes" name="Write hits" description="Number of write hits in the Load/Store cache" units="requests"/> 88bf215546Sopenharmony_ci <event offset="33" counter="LSC_WRITE_MISSES" title="Load/Store Cache Writes" name="Write misses" description="Number of write misses in the Load/Store cache" units="requests"/> 89bf215546Sopenharmony_ci <event offset="34" counter="LSC_ATOMIC_HITS" title="Load/Store Cache Atomics" name="Atomic hits" description="Number of atomic hits in the Load/Store cache" units="requests"/> 90bf215546Sopenharmony_ci <event offset="35" counter="LSC_ATOMIC_MISSES" title="Load/Store Cache Atomics" name="Atomic misses" description="Number of atomic misses in the Load/Store cache" units="requests"/> 91bf215546Sopenharmony_ci <event offset="36" counter="LSC_LINE_FETCHES" title="Load/Store Cache Bus" name="Line fetches" description="Number of line fetches in the Load/Store cache" units="requests"/> 92bf215546Sopenharmony_ci <event offset="37" 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"/> 93bf215546Sopenharmony_ci <event offset="38" 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"/> 94bf215546Sopenharmony_ci </category> 95bf215546Sopenharmony_ci</metrics>