summaryrefslogtreecommitdiff
path: root/tests/perf.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@sixbynine.org>2017-04-18 21:08:46 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-08-04 12:02:20 +0100
commit3cf388f1610f9754f1f085d08cef1e519313b96d (patch)
tree2b55babc8e08a00e47cb295d094429c16d7ed34c /tests/perf.c
parent338faaa00c9c938cb4861bb480e0666783a73312 (diff)
tests/perf: update print_reports to print context ID
Signed-off-by: Robert Bragg <robert@sixbynine.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'tests/perf.c')
-rw-r--r--tests/perf.c3
1 files changed, 3 insertions, 0 deletions
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,