Hardware Metrics Available on Intel(R) Arc(TM) B-Series Graphics#
The GPU driver provides the metrics in groups, and many metrics are in more than one group. Metrics collected together must all belong to the same group; the Groups column below shows which metrics you can combine.
Metrics to Start With#
These metrics are in the ComputeBasic group, so they can be collected together:
Metric |
Description |
|---|---|
|
Percentage of time in which at least one pipe of the Xe Vector Engine (XVE) is active. Higher is better. |
|
Percentage of time in which threads are loaded on the XVE but no pipe is active. Lower is better. |
|
Percentage of XVE thread slots occupied by threads. |
|
Number of bytes the kernel read from and wrote to GPU memory. |
|
Time elapsed on the GPU during the measurement. |
|
Average GPU core frequency during the measurement. |
|
Percentage of time spent dispatching compute threads to the XVEs. |
|
Number of 64-byte read and write requests to the L3 (device cache). |
|
Number of L3 accesses that hit and that missed. |
|
Percentage of time in which an L3 bank stalled. |
All Metrics#
Each metric is listed once, with the driver’s description and the groups that have it. “All groups” means every group on this page.
GPU Time and Frequency#
Metric |
Groups |
|---|---|
Time elapsed on the GPU during the measurement |
All groups |
The total number of GPU core clocks elapsed during the measurement |
All groups |
Average GPU Core Frequency in the measurement |
All groups |
Result uncertainty indicator |
All groups |
Vector Engine#
Metric |
Groups |
|---|---|
Number of Instruction Cache hits |
|
Number of Instruction Cache misses |
|
Percentage of time in which at least one pipe is active in XVE |
|
Number of execution slots taken by instructions executed by ALL threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by ALL threads on ALU1 pipe. Does not include extended math instructions |
|
Number of instruction (GRF or SRF) dispatches executed by ALL threads on SEND Pipe |
|
Number of execution slots taken by instructions executed by CS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by PS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by VS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by CS threads on ALU1 pipe. Does not include extended math instructions |
|
Number of execution slots taken by instructions executed by PS threads on ALU1 pipe. Does not include extended math instructions |
|
Number of execution slots taken by instructions executed by VS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time in which XVE requests stalled by Shared Function units |
|
Percentage of thread slots occupied by ALL threads |
|
Number of instructions issued (decoded) to any pipe |
|
Percentage of time in which any thread loaded but not even a single pipe is active in XVE |
|
Percentage of time taken by instructions executed by ALL threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by ALL threads on ALU1 pipe. Does not include extended math instructions |
|
Number of execution slots taken by instructions executed in ALU2 pipe |
|
Percentage of time in which at least two pipes are actively executing a Gen ISA instruction among ALU0, ALU1 and ALU2 pipes |
|
Percentage of time in which ALU0 and ALU1 pipes are both actively executing a Gen ISA instruction |
|
Percentage of time in which ALU0 and ALU2 pipes are both actively executing a Gen ISA instruction |
|
Percentage of time taken by instructions executed in ALU2 pipe |
|
Number of execution slots taken by instructions executed by RT_AHS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by RT_CHS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by RT_MS threads on ALU0 pipe |
|
Number of execution slots taken by instructions executed by RT_AHS threads on ALU1 pipe. Does not include extended math instructions |
|
Number of execution slots taken by instructions executed by RT_CHS threads on ALU1 pipe. Does not include extended math instructions |
|
Number of execution slots taken by instructions executed by RT_MS threads on ALU1 pipe. Does not include extended math instructions |
|
Number of sync.bar and sync.host instructions executed |
|
Number of execution slots taken by bit manipulation instructions |
|
Number of instructions executed on JEU Pipe |
|
Number of execution slots taken by FP16 ALU instructions. Does not include extended math instructions |
|
Number of execution slots taken by FP32 ALU instructions. Does not include extended math instructions |
|
Number of execution slots taken by FP64 ALU instructions |
|
Number of execution slots taken by FP64 ALU instructions executed in the second pipe |
|
Number of execution slots taken by INT16 ALU instructions |
|
Number of execution slots taken by INT32 ALU instructions |
|
Number of execution slots taken by INT64 instructions |
|
Number of execution slots taken by extended math instructions |
|
Number of non-divergent instructions (not execution slots) issued |
|
Number of instructions (not execution slots) issued with predication mask enabled |
|
Number of execution slots taken by BF16 XMX instructions |
|
Number of execution slots taken by FP16 XMX instructions |
|
Number of execution slots taken by INT2 XMX instructions |
|
Number of execution slots taken by INT4 XMX instructions |
|
Number of execution slots taken by INT8 XMX instructions |
|
Percentage of time in which XVE stalled, with at least one thread waiting for ALU to write GRF/ACC register. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting for Gateway to write Notify register. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting for JEU to complete branch instruction. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting for Instruction Fetch. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting on any other dependency (Flag/EoT etc). Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread ready to be scheduled (Grf conf/send holds etc). Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting on Pixel Shader dependency |
|
Percentage of time in which XVE stalled, with at least one thread waiting for Scoreboard token to be available. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time in which XVE stalled, with at least one thread waiting for SEND message to be dispatched from XVE. Multiple stall reasons can qualify during the same cycle |
|
Percentage of time taken by instructions executed by VS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by MS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by TS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by PS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by ASYNC_CS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by CS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by VS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by MS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by TS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by PS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by ASYNC_CS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by CS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by RT_AHS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by RT_CHS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by RT_MS threads on ALU0 pipe |
|
Percentage of time taken by instructions executed by RT_AHS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by RT_CHS threads on ALU1 pipe. Does not include extended math instructions |
|
Percentage of time taken by instructions executed by RT_MS threads on ALU1 pipe. Does not include extended math instructions |
|
Thread Dispatch#
Metric |
Groups |
|---|---|
Number of GPGPU threadgroups dispatched |
|
Number of Async GPGPU threadgroups dispatched |
|
Number of Async GPGPU EOT messages received |
|
Percentage of time in which spent dispatching GPGPU threads to XVEs |
|
Number of Task Shader EOT messages received |
|
Number of Task Shader threadgroups dispatched |
|
Percentage of time in which Thread Dispatch input is available |
|
Percentage of time in which Pixel Shader threads are ready for dispatch |
|
Percentage of time in which non-Pixel Shader threads are ready for dispatch in a particular Xe core |
|
Percentage of time in which queue 0 is stalled waiting for threads to be available |
|
Percentage of time in which non-Pixel Shader threads are ready for dispatch in a particular Xe core |
|
Percentage of time in which queue 1 is stalled waiting for threads to be available |
|
Percentage of time in which Thread Spawner queue 0 is stalled waiting for any resource to be available (for example, SLM, Barrier, BTD stack, etc.) |
|
Percentage of time in which Thread Spawner queue 1 is stalled waiting for any resource to be available (for example, SLM, Barrier, BTD stack, etc.) |
|
Percentage of time in which Thread Spawner has input available on queue 0 |
|
Percentage of time in which Thread Spawner has input available on queue 1 |
|
Device Cache (L3)#
Metric |
Groups |
|---|---|
Number of Device Cache 64B read requests |
|
Number of Device Cache 64B write requests |
|
Number of atomic accesses to Device Cache bank |
|
Number of Device Cache accesses which hits in the Device Cache cache |
|
Number of Device Cache accesses which miss in the Device Cache cache |
|
Percentage of time in which Device Cache bank stalled |
|
Number of AMFS access to Device Cache |
|
Number of AMFS hits in Device Cache |
|
Number of AMFS writes to Device Cache |
|
Number of Device Cache requests resulting from color local cache misses |
|
Number of Device Cache requests resulting from color local cache miss which hits in Device Cache |
|
Number of XVE instruction cache requests that hit the Device Cache |
|
Number of Device Cache read requests coming from XVE Instruction Cache |
|
Number of Load Store Cache requests to Device Cache that are hit |
|
Number of cacheline read requests from the Load Store Cache to Device Cache |
|
Number of cacheline write requests from the Load Store Cache to Device Cache |
|
Number of Device Cache hit requests resulting from sampler local cache miss which hits in Device Cache |
|
Number of Device Cache read requests resulting from sampler local cache miss |
|
Number of Device Cache requests resulting from Z local cache misses |
|
Number of Device Cache requests resulting from Z local cache miss which hits in Device Cache |
|
Percentage of time in which Device Cache request queue has one or more requests pending |
|
Percentage of time in which Device Cache bank has input requests |
|
Percentage of time in which Device Cache bank has output ready |
|
Percentage of time in which all slots in Device Cache request queue are waiting for data return / response |
|
GPU Memory#
Metric |
Groups |
|---|---|
Number of 256B writes to compressible surfaces at the input of the compressor |
|
Number of 256B writes to compressible surfaces at the output of the compressor |
|
Number of misses from all TLBs and all engines |
|
Percentage of time in which SQ is filled above a threshold (usually 48 entries) |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) read bytes |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) write bytes |
|
Device local memory (HBM, GDDR, LPDDR, etc.) read bandwidth |
|
Device local memory (HBM, GDDR, LPDDR, etc.) write bandwidth |
|
Number of host 64B reads to GPU local (HBM) memory (downstream over an interface such as pcie, cxl or an integrated fabric as applicable to the respective product segment) |
|
Number of host 64B writes to GPU local (HBM) memory (downstream over an interface such as pcie, cxl or an integrated fabric as applicable to the respective product segment) |
|
Number of system memory 64B reads (upstream over an interface such as pcie, cxl or an integrated fabric as applicable to the respective product segment) |
|
Number of system memory 64B writes (upstream over an interface such as pcie, cxl or an integrated fabric as applicable to the respective product segment) |
|
Number of GTI memory reads from Device Cache caused by Device Cache misses |
|
Number of GTI memory writes from Device Cache caused by Device Cache invalidations |
|
Percentage of time in which device local memory (HBM, GDDR, LPDDR, etc.) is active |
|
Number of GTI memory reads |
|
Number of GTI memory writes |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) non coherent reads (32B) |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) non coherent writes (32B) |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) non coherent reads (64B) |
|
Number of device local memory (HBM, GDDR, LPDDR, etc.) non coherent writes (64B) |
|
Command Streamer and Copy Engine#
Metric |
Groups |
|---|---|
Percentage of time in which GPU is not idle including all GPU engines |
|
Percentage of time in which there is a context loaded and active on the compute queue |
|
Percentage of time in which there is a context loaded and active on the 3D queue |
|
Percentage of time in which there is a context loaded and active on the copy queue |
|
Number of compute walker commands parsed on the compute engine |
|
Number of Stalling flushes at the top of the pipe |
|
Number of compute walker commands parsed on the 3D engine |
|
Number of read requests sent by the Copy Engine |
|
Percentage of time in which copy engine is stalled on the memory path due to stall on the read or write path when there are commands pending within copy engine |
|
Number of write requests sent by the Copy Engine |
|
Number of DRAW and MESH commands parsed on the 3D engine |
|
Graphics Pipeline#
These metrics count work of the 3D and ray tracing pipelines; compute kernels leave most of them at 0.
Metric |
Groups |
|---|---|
Number of vertices in a draw |
|
Number of Clipper input vertices |
|
Number of Clipper early cull primitives |
|
Number of primitives clipped by Clipper due to near/far planes |
|
Number of primitives going out of Clipper, must clip plus the trivial accept. Must clip primitives are counted one time only |
|
Number of primitives in a draw |
|
Number of vertices written by SOL |
|
Number of objects exiting Stripsfan stage |
|
Number of simple and complex culled objects in Stripsfan stage |
|
Number of objects data written to memory, read from pipe 0 only |
|
Percentage of time in which Clipper has input available (from Vertex Shader or SOL) |
|
Percentage of time in which Clipper output ready |
|
Number of elements pushed by Clipper into Stripsfan stage |
|
Number of objects data that needed beyond the current allocated space, read from pipe 0 only |
|
Percentage of time in which in which geometry pipeline output is ready |
|
Percentage of time in which Vertex Fetch input is available |
|
Percentage of time in which Vertex Fetch output is ready |
|
Percentage of time in which Vertex Shader output is ready |
|
Number of lit samples emitted by Rasterizer |
|
Number of promoted 2x2 that are lit from Rasterizer |
|
Number of non-promoted 2x2 that are lit from Rasterizer |
|
Percentage of time in which Rasterizer input is available |
|
Percentage of time in which where rasterizer output is ready |
|
Number of transactions pushed from Rasterizer to the Z pipe |
|
Number of non-promoted 2x2 that failed Depth / Stencil before the Pixel Shader that were previously ambiguous at HiZ |
|
Number of promoted 2x2 that failed Depth / Stencil that were previously ambiguous at HiZ |
|
Number of non-promoted 2x2 that are ambiguous by hierarchical depth test |
|
Number of promoted 2x2 that are ambiguous by hierarchical depth test |
|
Number of non-promoted 2x2 that failed the hierarchical depth test |
|
Number of promoted 2x2 that failed the hierarchical depth test |
|
Number of promoted 2x2 passed by hierarchical depth test |
|
Percentage of time in which for which HiZ latency hiding structure full |
|
Percentage of time in which IZ has requests to different clients |
|
Percentage of time in which for which IZ latency hiding structure full |
|
Number of 2x2 that were lit from Rasterizer but failed the depth or stencil test post shader |
|
Number of blended pixels written to all render targets |
|
Number of pixels written to all render targets |
|
Number of 2x2 that were lit from Rasterizer but failed the Alpha Test or Alpha-to-Coverage |
|
Number of pixels that were lit from Rasterizer but killed by the Pixel Shader or OOB Check |
|
Number of Render Cache allocations |
|
Number of Render Cache hits |
|
Number of Render Cache reads |
|
Number of Render Cache writes |
|
Percentage of time in which Color Pipeline stalled due to MultiSampling Cache latency hiding structure full |
|
Percentage of time in which Color Pipeline stalled due to Render Cache latency hiding structure full |
|
Percentage of time in which Color Pipeline input ready |
|
Percentage of time in which Color Pipeline pixel output ready |
|
Percentage of time in which Pixel Shader data is available |
|
Percentage of time in which Render Cache input available |
|
Percentage of time in which Render Cache output ready |
|
Number of 2x2 texel block requested from Sampler |
|
Number of Sampler L1 requests |
|
Number of Sampler L1 misses |
|
Percentage of time in which Sampler pipeline active |
|
Percentage of time in which Sampler input is available |
|
Percentage of time in which Sampler stalled due to latency hiding structure full |
|
Percentage of time in which Sampler output is ready |
|
Number of BVH cache misses |
|
Number of valid SIMD lanes in the TraceRay message |
|
Number of any hit threads dispatched |
|
Number of BTD shader spawn requests dispatched |
|
Number of closest hit threads dispatched |
|
Number of valid SIMD lanes in the Spawn message |
|
Number of instance BVH nodes processed by the traversal function |
|
Number of internal BVH nodes processed by the traversal function |
|
Number of intersection threads dispatched |
|
Percentage of time in which Ray Tracing message input is stalled while accepting input |
|
Number of miss threads dispatched |
|
Number of procedural BVH nodes processed by the traversal function |
|
Number of triangle BVH nodes processed by the traversal function |
|
Number of nodes processed that use ray-quad intersection pipeline |
|
Percentage of time in which Ray Tracing Leaf has two Traversal inputs valid |
|
Number of only HW transform accesses |
|
Number of Ray Tracing Traversal input rays |
|
Number of Ray Tracing Traversal output rays |
|
Percentage of time in which Ray Tracing Frontend is stalled by Traversal |
|
Number of BVH nodes processed |
|
Percentage of time in which AMFS stalls at both of the color pipe inputs |
|
Percentage of time in which AMFS stalls at any of the color pipe inputs |
|
Number of Shading Request (evaluate) messages processed by AMFS |
|
Number of hits in the AMFS cache |
|
Number of cache misses in AMFS |
|
Number of URB reads |
|
Number of URB writes |
|
Number of URB reads occurred from cross slices |
|
Other GPUs#
Other GPUs have other metrics and groups. For example, Intel(R) Arc(TM) A-Series Graphics uses
XveActiveandXveStallinstead ofXVE_ACTIVEandXVE_STALL.The lists for every GPU are in the Intel(R) Metrics Discovery documentation, one
metric_infofile per GPU. Not every group in these files can be used for per-kernel collection.In a C or C++ program,
ptiMetricsGetMetricGroupsandptiMetricsGetMetricsPropertieslist the groups and metrics of your GPU, with each group’s type (see PTI Metrics API Reference).
If a Name Is Rejected#
PTI_ERROR_METRICS_SCOPE_METRIC_NOT_FOUND: a name is misspelled or is not available for per-kernel collection on this GPU.PTI_ERROR_METRICS_SCOPE_NOT_A_SINGLE_GROUP: each name exists, but no single group has them all. Check the Groups column.