[PATCH i-g-t 0/3] Add PMU tests to validate engine activity
Riana Tauro
riana.tauro at intel.com
Wed Feb 12 09:58:26 UTC 2025
PMU provides two counters (engine-active-ticks, engine-total-ticks)
to calculate engine activity. When querying engine activity
user must group these 2 counters using the perf_event
group mechanism to ensure both counters are sampled together.
Add two tests to validate engine activity
engine-activity-idle
engine-activity
KMD Patch: https://patchwork.freedesktop.org/series/144408/
Riana Tauro (2):
tests/intel/xe_pmu: Add PMU test to validate engine activity stats
tests/intel/xe_pmu: Add idle engine activity test
Vinay Belgaumkar (1):
lib/igt_perf: Add utils to extract PMU event info
lib/igt_perf.c | 70 ++++++++++++++++++
lib/igt_perf.h | 2 +
tests/intel/xe_pmu.c | 166 +++++++++++++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
4 files changed, 239 insertions(+)
create mode 100644 tests/intel/xe_pmu.c
--
2.47.1
More information about the igt-dev
mailing list