summaryrefslogtreecommitdiff
path: root/benchmarks/ezbench.d/gem_create.test
blob: cd296fb66cf69222ad49e034eda86f383143c7a2 (plain)
1
2
3
4
5
6
7
8
test_exec_time=2

[ -e $IGT_BENCHMARKS/gem_create ] || return 1
sudo -n true || return 1

test_name="gem:create:4k gem:create:4M"
gem:create:4k_run() { sudo $IGT_BENCHMARKS/gem_create -s 4096 -r $1; }
gem:create:4M_run() { sudo $IGT_BENCHMARKS/gem_create -s 4194304 -r $1; }