summaryrefslogtreecommitdiff
path: root/benchmarks/Makefile.sources
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-19 15:20:38 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-19 16:15:07 +0100
commit99c015af48f55b63df26e3c45bbff4d3c1fcb54b (patch)
tree8f822df79100e224fa35854f138d762f12457306 /benchmarks/Makefile.sources
parentdc8cf567a830e9fc1557693115740cfc52fa8406 (diff)
benchmarks: Add gem_exec_fault
If we specify an unobtainable alignment (e.g, 63bits) the kernel will eviction the object from the GTT and fail to rebind it. We can use this, to measure how long it takes to move objects around in the GTT by running execbuf followed by the unbind. For small objects, this will be dominated by the nop execution time, but for larger objects this will be ratelimited by how fast we can rewrite the PTE. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/Makefile.sources')
-rw-r--r--benchmarks/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/Makefile.sources b/benchmarks/Makefile.sources
index 81607a56..bc4f2b52 100644
--- a/benchmarks/Makefile.sources
+++ b/benchmarks/Makefile.sources
@@ -8,6 +8,7 @@ benchmarks_PROGRAMS = \
gem_blt \
gem_create \
gem_exec_ctx \
+ gem_exec_fault \
gem_exec_nop \
gem_exec_reloc \
gem_exec_trace \