summaryrefslogtreecommitdiff
path: root/ubuntu/latency-test.yaml
blob: f0261b5fe8bc58af18d5c9ebafd884795b7b1704 (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
metadata:
    name: latency-test
    version: "1.0"
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "latency-test sets up and runs one or two real-time threads.Each time a thread is started by the
                  scheduler, the code set up by latency-test gets the time and subtracts from it the previous time
                  the same thread started. latency-test determines the maximum deviation (both larger and smaller)
                  of this difference compared to the selected period, compares the absolute values of the two deviations,
                  and reports the larger absolute value as the max jitter."
    maintainer:
        - mike.holmes@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
        - juno
    scope:
        - functional
    environment:
        - lava-test-shell
install:
    git-repos:
        - 'git://git.linaro.org/people/mike.holmes/latency-test.git'
    steps:
        - 'cd latency-test'
        - 'make'
        - 'make install'
    deps:
        - 'build-essential'
run:
    steps:
        - 'cd latency-test'
        - 'insmod ./enable_cc.ko'
        - 'chmod +x latency'
        - './latency -s latency_data.txt'
parse:
    pattern: "^test_result:(?P<test_case_id>\\S+)=(?P<measurement>[0123456789infa\\.]+)\\s+(?P<units>\\S+)\\s+(?P<result>\\S+)"