summaryrefslogtreecommitdiff
path: root/benchmarks/ezbench.d/gem_exec_ctx.test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-07 21:26:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-07 22:06:57 +0100
commit6ec897c6102a20b93ec8c8e5245d3bf61dde511e (patch)
treedf7efde7c46fad91ce74234a94c03a1537b9d673 /benchmarks/ezbench.d/gem_exec_ctx.test
parent4b0f3bfc2edd4228ec469327ab9fe53e8b9722e9 (diff)
benchmarks: Add some contention tests for object/context creation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/ezbench.d/gem_exec_ctx.test')
-rw-r--r--benchmarks/ezbench.d/gem_exec_ctx.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmarks/ezbench.d/gem_exec_ctx.test b/benchmarks/ezbench.d/gem_exec_ctx.test
index 85b2a5ab..f468d0d9 100644
--- a/benchmarks/ezbench.d/gem_exec_ctx.test
+++ b/benchmarks/ezbench.d/gem_exec_ctx.test
@@ -12,6 +12,10 @@ for i in nop default switch create; do
test_name="$test_name $name"
eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_ctx -s -b $i -r \$1 ; }"
+ name="gem:exec:ctx:$i:forked"
+ test_name="$test_name $name"
+ eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_ctx -f -s -b $i -r \$1 ; }"
+
name="gem:exec:ctx:$i:continuous"
test_name="$test_name $name"
eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_ctx -b $i -r \$1 ; }"