summaryrefslogtreecommitdiff
path: root/benchmarks/ezbench.d/gem_exec_nop.test
blob: ca9cc31723e3043fd60f7cad079f431078041de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[ -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