mirror of https://gitlab.freedesktop.org/mesa/mesa
102 lines
13 KiB
XML
102 lines
13 KiB
XML
<!--
|
|
Copyright © 2017-2020 ARM Limited.
|
|
Copyright © 2021-2022 Collabora, Ltd.
|
|
Author: Antonio Caggiano <antonio.caggiano@collabora.com>
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice (including the next
|
|
paragraph) shall be included in all copies or substantial portions of the
|
|
Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
-->
|
|
<metrics id="T82x">
|
|
<category name="Job Manager" per_cpu="no">
|
|
<event offset="6" counter="GPU_ACTIVE" title="Job Manager Cycles" name="GPU cycles" description="Number of cycles GPU active" units="cycles"/>
|
|
<event offset="7" counter="IRQ_ACTIVE" title="Job Manager Cycles" name="IRQ cycles" description="Number of cycles GPU interrupt pending" units="cycles"/>
|
|
<event offset="10" counter="JS0_ACTIVE" title="Job Manager Cycles" name="JS0 cycles" description="Number of cycles JS0 (fragment) active" units="cycles"/>
|
|
<event offset="18" counter="JS1_ACTIVE" title="Job Manager Cycles" name="JS1 cycles" description="Number of cycles JS1 (vertex/tiler/compute) active" units="cycles"/>
|
|
<event offset="26" counter="JS2_ACTIVE" title="Job Manager Cycles" name="JS2 cycles" description="Number of cycles JS2 (vertex/compute) active" units="cycles"/>
|
|
<event offset="8" counter="JS0_JOBS" title="Job Manager Jobs" name="JS0 jobs" description="Number of Jobs (fragment) completed in JS0" units="jobs"/>
|
|
<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"/>
|
|
<event offset="24" counter="JS2_JOBS" title="Job Manager Jobs" name="JS2 jobs" description="Number of Jobs (vertex/compute) completed in JS2" units="jobs"/>
|
|
<event offset="9" counter="JS0_TASKS" title="Job Manager" name="Pixels" description="Number of Pixels completed in JS0" multiplier="1024" units="pixels"/>
|
|
<event offset="17" counter="JS1_TASKS" title="Job Manager Tasks" name="JS1 tasks" description="Number of Tasks completed in JS1" units="tasks"/>
|
|
<event offset="25" counter="JS2_TASKS" title="Job Manager Tasks" name="JS2 tasks" description="Number of Tasks completed in JS2" units="tasks"/>
|
|
</category>
|
|
<category name="Tiler" per_cpu="no">
|
|
<event offset="22" counter="TI_ACTIVE" title="Tiler Cycles" name="Tiler cycles" description="Number of cycles Tiler active" units="cycles"/>
|
|
<event offset="6" counter="TI_POLYGONS" title="Tiler Primitives" name="Polygons" description="Number of polygons processed" units="primitives"/>
|
|
<event offset="5" counter="TI_QUADS" title="Tiler Primitives" name="Quads" description="Number of quads processed" units="primitives"/>
|
|
<event offset="4" counter="TI_TRIANGLES" title="Tiler Primitives" name="Triangles" description="Number of triangles processed" units="primitives"/>
|
|
<event offset="8" counter="TI_LINES" title="Tiler Primitives" name="Lines" description="Number of lines processed" units="primitives"/>
|
|
<event offset="7" counter="TI_POINTS" title="Tiler Primitives" name="Points" description="Number of points processed" units="primitives"/>
|
|
<event offset="9" counter="TI_FRONT_FACING" title="Tiler Culling" name="Front facing prims" description="Number of front facing primitives" units="primitives"/>
|
|
<event offset="10" counter="TI_BACK_FACING" title="Tiler Culling" name="Back facing prims" description="Number of back facing primitives" units="primitives"/>
|
|
<event offset="11" counter="TI_PRIM_VISIBLE" title="Tiler Culling" name="Visible prims" description="Number of visible primitives" units="primitives"/>
|
|
<event offset="12" counter="TI_PRIM_CULLED" title="Tiler Culling" name="Culled prims" description="Number of culled primitives" units="primitives"/>
|
|
<event offset="13" counter="TI_PRIM_CLIPPED" title="Tiler Culling" name="Clipped prims" description="Number of clipped primitives" units="primitives"/>
|
|
</category>
|
|
<category name="L2 Cache" per_cpu="no">
|
|
<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"/>
|
|
<event offset="36" counter="L2_READ_SNOOP" title="L2 Cache Reads" name="Read snoops" description="Number of read transaction snoops" units="requests"/>
|
|
<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"/>
|
|
<event offset="42" counter="L2_WRITE_SNOOP" title="L2 Cache Writes" name="Write snoops" description="Number of write transaction snoops" units="requests"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
</category>
|
|
<category name="Shader Core" per_cpu="no">
|
|
<event offset="26" counter="TRIPIPE_ACTIVE" title="Core Cycles" name="Tripipe cycles" description="Number of cycles tripipe was active" units="cycles"/>
|
|
<event offset="4" counter="FRAG_ACTIVE" title="Core Cycles" name="Fragment cycles" description="Number of cycles fragment processing was active" units="cycles"/>
|
|
<event offset="22" counter="COMPUTE_ACTIVE" title="Core Cycles" name="Compute cycles" description="Number of cycles vertex\compute processing was active" units="cycles"/>
|
|
<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"/>
|
|
<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"/>
|
|
<event offset="12" counter="FRAG_THREADS" title="Fragment Threads" name="Fragment threads" description="Number of fragment threads started" units="threads"/>
|
|
<event offset="13" counter="FRAG_DUMMY_THREADS" title="Fragment Threads" name="Dummy fragment threads" description="Number of dummy fragment threads started" units="threads"/>
|
|
<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"/>
|
|
<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"/>
|
|
<event offset="23" counter="COMPUTE_TASKS" title="Compute Tasks" name="Compute tasks" description="Number of compute tasks" units="tasks"/>
|
|
<event offset="24" counter="COMPUTE_THREADS" title="Compute Threads" name="Compute threads" description="Number of compute threads started" units="threads"/>
|
|
<event offset="5" counter="FRAG_PRIMITIVES" title="Fragment Primitives" name="Primitives loaded" description="Number of primitives loaded from tiler" units="primitives"/>
|
|
<event offset="6" counter="FRAG_PRIMITIVES_DROPPED" title="Fragment Primitives" name="Primitives dropped" description="Number of primitives dropped because out of tile" units="primitives"/>
|
|
<event offset="14" counter="FRAG_QUADS_RAST" title="Fragment Quads" name="Quads rasterized" description="Number of quads rasterized" units="quads"/>
|
|
<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"/>
|
|
<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"/>
|
|
<event offset="20" counter="FRAG_NUM_TILES" title="Fragment" name="Pixels" description="Number of pixels rendered" multiplier="1024" units="pixels"/>
|
|
<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"/>
|
|
<event offset="27" counter="ARITH_WORDS" title="Arithmetic Pipe" name="A instructions" description="Number of batched instructions executed by the A-pipe (normalized per pipe)" units="instructions"/>
|
|
<event offset="31" counter="LS_WORDS" title="Load/Store Pipe" name="LS instructions" description="Number of instructions completed by the LS-pipe" units="instructions"/>
|
|
<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"/>
|
|
<event offset="38" counter="TEX_WORDS" title="Texture Pipe" name="T instructions" description="Number of instructions completed by the T-pipe" units="instructions"/>
|
|
<event offset="42" counter="TEX_ISSUES" title="Texture Pipe" name="T instruction issues" description="Number of threads through loop 2 address calculation" units="instructions"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
<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"/>
|
|
</category>
|
|
</metrics> |