aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/ptsematest/ptsematest.yaml
blob: b73c24a0c83ffa0c78cbcdedd3e2768d1435db9b (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
35
36
37
38
39
metadata:
    name: pmsematest
    format: "Lava-Test Test Definition 1.0"
    description: "ptsematest starts threads that are synchronized via
        pthread_mutex_unlock()/pthread_mutex_lock() and measures the latency
        between releasing and getting the lock."
    maintainer:
        - Daniel Wagner <wagi@monom.org>
    os:
        - debian
        - ubuntu
        - centos
        - fedora
        - openembedded
    scope:
        - performance
        - preempt-rt
    environment:
        - lava-test-shell
    devices:
        - hi6220-hikey
        - apq8016-sbc
        - mustang
        - moonshot
        - thunderX
        - d03
        - d05

params:
    # Execute ptsematest for given time
    DURATION: "5m"
    # Background workload to be run during the meassurement
    BACKGROUND_CMD: ""

run:
    steps:
        - cd ./automated/linux/ptsematest/
        - ./ptsematest.sh -D "${DURATION}" -w "${BACKGROUND_CMD}"
        - ../../utils/send-to-lava.sh ./output/result.txt