benchmarks: Measure round-trip time for an immediate vblanks

By measuring both the query and the event round trip time, we can make a
reasonable estimate of how long it takes for the query to send the
vblank following an interrupt.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2015-07-23 15:18:22 +01:00
parent af510c249d
commit d88981f62b
2 changed files with 183 additions and 1 deletions
+3 -1
View File
@@ -6,4 +6,6 @@ bin_PROGRAMS = \
gem_exec_nop \
gem_mmap \
gem_prw \
gem_userptr_benchmark
gem_userptr_benchmark \
kms_vblank \
$(NULL)