summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/perf-mmap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/ubuntu/perf-mmap.yaml b/ubuntu/perf-mmap.yaml
new file mode 100644
index 0000000..391dc6b
--- /dev/null
+++ b/ubuntu/perf-mmap.yaml
@@ -0,0 +1,34 @@
+metadata:
+ name: perf-mmap-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Perf-mmap-test is testsuite for showing benchmarks for accessing perf hw counters from userspace with traditional way by using read syscall, and mmap way"
+ maintainer:
+ - yogesh.tillu@linaro.org
+ os:
+ - ubuntu
+ scope:
+ - performance
+ devices:
+ - juno
+
+install:
+ deps:
+ - build-essential
+ - linux-libc-dev
+ git-repos:
+ - url: https://git.linaro.org/qa/perfcounter_access_test.git
+ steps:
+ - "cd perfcounter_access_test"
+ - "make install MAX_DELAY=1"
+
+params:
+ BUSYLOOP: 64
+ COUNTER: "0 1 2 3 5 9"
+ CPU: "0 1"
+
+run:
+ steps:
+ - 'for core in $CPU; do \'
+ - 'echo "Tests Executing on CPU $core"; \'
+ - 'taskset -c $core ./common/scripts/perf-mmaptest.sh ${BUSYLOOP} "$COUNTER" $core; \'
+ - 'done'