blob: 391dc6b271522e50386aa11357abc6c17d16dd7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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'
|