summaryrefslogtreecommitdiff
path: root/benchmarks/ezbench.d/gem_create.test
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/ezbench.d/gem_create.test')
-rw-r--r--benchmarks/ezbench.d/gem_create.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmarks/ezbench.d/gem_create.test b/benchmarks/ezbench.d/gem_create.test
new file mode 100644
index 00000000..cd296fb6
--- /dev/null
+++ b/benchmarks/ezbench.d/gem_create.test
@@ -0,0 +1,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; }