mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +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>
15 lines
374 B
Plaintext
15 lines
374 B
Plaintext
[ -e $IGT_BENCHMARKS/gem_mmap ] || return 1
|
|
sudo -n true || return 1
|
|
|
|
for i in cpu gtt wc; do
|
|
for j in fault clear write read; do
|
|
for k in none x y; do
|
|
test_name="$test_name gem:mmap:$i:$j:$k"
|
|
eval "gem:mmap:${i}:${j}:${k}_run() { sudo $IGT_BENCHMARKS/gem_mmap -m $i -d $j -t $k -r \$1 ; } "
|
|
|
|
done
|
|
done
|
|
done
|
|
|
|
test_exec_time=2
|