metadata: name: ptsematest format: "Lava-Test-Shell Test Definition 1.0" description: "Ptsematest measures the latency of interprocess communication with POSIX mutex. The test starts two threads that are synchronized via pthread_mutex_unlock()/pthread_mutex_lock() and measures the latency between releasing and getting the lock. The dafault iteration is set to 1000 which can be changed via JSON file." maintainer: - arthur.she@linaro.org os: - ubuntu devices: - arndale - beaglebone-black - rtsm_fvp_base-aemv8a - juno scope: - performance - preempt-rt install: deps: - rt-tests params: LOOPS: 1000 run: steps: - 'ptsematest -l ${LOOPS} -t | tee result.log' - './common/scripts/rt-tests-parser.sh ptsematest result.log' - 'lava-test-run-attach result.log' parse: pattern: '^(?P[^:]+):\s*(?P[0-9.]+)\s+(?P\w+)\s+(?Ppass)'