• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[ -e $IGT_BENCHMARKS/gem_exec_fault ] || return 1
2sudo -n true || return 1
3
4ring=rcs # rcs bcs vcs vecs all
5while read x size; do
6    name="gem:exec:fault:$size"
7    test_name="$test_name $name"
8    eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_fault -s $x -e $ring -r \$1 ; }"
9
10    name="gem:exec:fault:$size:forked"
11    test_name="$test_name $name"
12    eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_exec_fault -f -s $x -e $ring -r \$1 ; }"
13done<<SIZES
144096		4KiB
1565536		64KiB
161048576		1MiB
1716777216	16MiB
18268435456	256MiB
19SIZES
20
21test_exec_time=3
22test_invert=1
23