diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-03 16:45:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-03 18:32:07 +0100 |
commit | 1a501723029ac519aca0f7c633cda0133ac5141a (patch) | |
tree | f753bdcea71b89f09d4b84a1334220a23fde0f88 /benchmarks/ezbench.d/gem_exec_reloc.test | |
parent | eac26718e62a0c7cb5506f2cf188a4cac4794726 (diff) |
benchmarks: Include my ezbench test runners
Just a set of scripts to integrate these benchmarks with ezbench. They
need to be revised to plugin into latest version of ezbench.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/ezbench.d/gem_exec_reloc.test')
-rw-r--r-- | benchmarks/ezbench.d/gem_exec_reloc.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/benchmarks/ezbench.d/gem_exec_reloc.test b/benchmarks/ezbench.d/gem_exec_reloc.test new file mode 100644 index 00000000..ccac6c1a --- /dev/null +++ b/benchmarks/ezbench.d/gem_exec_reloc.test @@ -0,0 +1,20 @@ +test_exec_time=18 +test_invert=1 + +[ -e $IGT_BENCHMARKS/gem_exec_reloc ] || return 1 +sudo -n true || return 1 + +for i in old lut; do + for j in busy cyclic fault skip none; do + for k in constant sequential reverse random; do + for b in 2 4096; do + test_name="$test_name gem:exec:reloc:$i:$j:$k:$b" + eval "gem:exec:reloc:${i}:${j}:${k}:${b}_run() { sudo $IGT_BENCHMARKS/gem_exec_reloc -s 65536 -m $i -e $j -o $k -l \$1 -b $b -r 4096 ; } " + done + done + done + for j in 0 32 1024 32768; do + test_name="$test_name gem:exec:reloc:$i:0:$j" + eval "gem:exec:reloc:${i}:0:${j}_run() { sudo $IGT_BENCHMARKS/gem_exec_reloc -s 4096 -m $i -e none -o constant -l \$1 -b $j -r 0 ; } " + done +done |