From 3cf388f1610f9754f1f085d08cef1e519313b96d Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 18 Apr 2017 21:08:46 +0100 Subject: tests/perf: update print_reports to print context ID Signed-off-by: Robert Bragg Reviewed-by: Lionel Landwerlin --- tests/perf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/perf.c b/tests/perf.c index ab8db296..d057d943 100644 --- a/tests/perf.c +++ b/tests/perf.c @@ -1215,6 +1215,9 @@ print_reports(uint32_t *oa_report0, uint32_t *oa_report1, int fmt) const char *reason0 = gen8_read_report_reason(oa_report0); const char *reason1 = gen8_read_report_reason(oa_report1); + igt_debug("CTX ID: 1st = %"PRIu32", 2nd = %"PRIu32"\n", + oa_report0[2], oa_report1[2]); + gen8_read_report_clock_ratios(oa_report0, &slice_freq0, &unslice_freq0); gen8_read_report_clock_ratios(oa_report1, -- cgit v1.2.3