blob: 0e71ecd1873d7b199a28e347d4f4f2bf2ae55bb8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
[ -e $IGT_BENCHMARKS/vgem_mmap ] || return 1
sudo -n true || return 1
for i in fault clear write read; do
name="vgem:mmap::$i"
test_name="$test_name $name"
eval "${name}_run() { sudo $IGT_BENCHMARKS/vgem_mmap -d $i -r \$1 ; } "
done
test_exec_time=2
|