blob: c35ca5c07c09cfa00f65b0a523ab7ee627d5cf1c (
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
|
metadata:
name: pmqtest
format: "Lava-Test-Shell Test Definition 1.0"
description: "Pmqtest measures the latency of interprocess communication with POSIX messages queues.
The test starts pairs of threads that are synchronized via mq_send/mw_receive() and
measures the latency between sending and receiving the message. The default iteration
is set to 1000 which can be changed via JSON file."
maintainer:
- arthur.she@linaro.org
- ravineet.singh@linaro.org
os:
- openembedded
devices:
- arndale
- juno
- x86
scope:
- performance
- preempt-rt
params:
LOOPS: 1000
run:
steps:
- 'pmqtest -l ${LOOPS} -S | tee result.log'
- './common/scripts/rt-tests-parser.sh pmqtest result.log'
- 'lava-test-run-attach result.log'
parse:
pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>pass)'
|