[PATCH i-g-t v3 0/3] Add PMU tests to validate engine activity
Riana Tauro
riana.tauro at intel.com
Thu Feb 20 11:25:53 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 tests to validate engine activity
engine-activity-idle
engine-activity-load-idle
engine-activity-load
KMD Patch: https://patchwork.freedesktop.org/series/144408/
Rev2: add trailing idle test
Rev3: rebase
Riana Tauro (3):
lib/igt_perf: Use shift parameter for format
tests/intel/xe_pmu: Add PMU test to validate engine activity stats
tests/intel/xe_pmu: Add idle engine activity tests
lib/igt_perf.c | 13 ++--
lib/igt_perf.h | 2 +-
tests/intel/xe_pmu.c | 157 +++++++++++++++++++++++++++++++++++++------
3 files changed, 145 insertions(+), 27 deletions(-)
--
2.47.1
More information about the igt-dev
mailing list