intel/perf: Hide extended metrics by default

XE architecture enables many more metrics, perhaps too many for
the average user. Reduce reported metrics to smaller subset,
known as non-extended metrics, by default. Can re-enable extended
metrics with env var INTEL_EXTENDED_METRICS=1

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21841>
This commit is contained in:
Felix DeGrood
2023-03-10 16:34:02 +00:00
committed by Marge Bot
parent 6b22a02f90
commit 341f1011a6
3 changed files with 23 additions and 0 deletions
+6
View File
@@ -566,6 +566,12 @@ Intel driver environment variables
``offsets``
print offsets of instructions
.. envvar:: INTEL_EXTENDED_METRICS
By default, only a standard set of gpu metrics are advertised. This
reduces time to collect metrics and hides infrequently used metrics.
To enable all metrics, set value to 1.
.. envvar:: INTEL_MEASURE
Collects GPU timestamps over common intervals, and generates a CSV report