mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
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>
16 lines
458 B
Plaintext
16 lines
458 B
Plaintext
[ -e $IGT_BENCHMARKS/gem_exec_nop ] || return 1
|
|
sudo -n true || return 1
|
|
|
|
for ring in rcs bcs vcs vecs all; do
|
|
name="gem:exec:nop:$ring:single"
|
|
test_name="$test_name $name"
|
|
eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_nop -s -e $ring -r \$1 ; }"
|
|
|
|
name="gem:exec:nop:$ring:continuous"
|
|
test_name="$test_name $name"
|
|
eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_nop -e $ring -r \$1 ; }"
|
|
done
|
|
|
|
test_exec_time=3
|
|
test_invert=1
|