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'