summaryrefslogtreecommitdiff
path: root/common/cyclictest-basic.yaml
blob: 31d7f93827c593e82e70fdb417a571efb8076c3d (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: cyclictest-basic
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Cyclictest tool is used to measure event latency in kernel. The test runs cyclictest
                  command in loop and increases the number of thread after each iteration."
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
        - openembedded
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
    scope:
        - performance
        - preempt-rt

install:
    deps:
        - rt-tests

params:
    TIMES: 8            # The number of times 'cyclictest' will be run
    INTERVAL: 10000     # '--interval': base interval of thread in us
    LATENCY: 1000000    # '--latency':  This number will be written to /dev/cpu_dma_latency
    DURATION: 20        # '--duratio':  specify a length for the test run

run:
    steps:
        - './common/scripts/cyclictest-basic.sh ${TIMES} ${INTERVAL} ${LATENCY} ${DURATION}'