mesa/src/intel/executor
Caio Oliveira 2c64e12462
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
intel/executor: Add performance counter support
Add optional OA performance counter collection around each execute()
call. Examples:

```
  # List all profiles and counters, with descriptions.
  $ executor --oa list

  # Collect all counters from a profile.
  $ executor --oa ComputeBasic file.lua

  # Collect a subset of counters from a profile, separated by comma.
  $ executor --oa ComputeBasic:GpuTime,AvgGpuCoreFrequency file.lua

  # By default use ComputeBasic profile, so counter names only also work.
  $ executor --oa GpuTime file.lua
```

The selected counters are printed to stdout after the script finishes,
or written to a file specified by --oa-csv FILENAME.

Assisted-by: Pi coding agent (GPT-5.5)
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41610>
2026-05-21 16:46:35 -07:00
..
examples intel/executor: Add a matrix multiplication example 2025-10-11 01:02:45 +00:00
executor.h intel/executor: Add performance counter support 2026-05-21 16:46:35 -07:00
executor_genx.c intel/executor: Add performance counter support 2026-05-21 16:46:35 -07:00
executor_genx.h intel/executor: Add performance counter support 2026-05-21 16:46:35 -07:00
executor_macros.c brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00
executor_main.c intel/executor: Add performance counter support 2026-05-21 16:46:35 -07:00
meson.build intel/executor: Add performance counter support 2026-05-21 16:46:35 -07:00