summaryrefslogtreecommitdiff
path: root/automated/linux/cyclictest/cyclictest.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-01-17 16:49:23 +0800
committerNaresh Kamboju <naresh.kamboju@linaro.org>2017-01-17 16:30:27 +0530
commit210468de8d8e76bcc39c9a7637bd81cc1eee661a (patch)
tree3c13c27c589dd05999228f0e785b383416966ef8 /automated/linux/cyclictest/cyclictest.yaml
parent54b2e3a1d945e04852d1182c450a19814a60b057 (diff)
automated: linux: add cyclictestHEADmaster
Change-Id: I2a81ff35db40935fe57d25bc35685cf6b54c1fe6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/linux/cyclictest/cyclictest.yaml')
-rw-r--r--automated/linux/cyclictest/cyclictest.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/automated/linux/cyclictest/cyclictest.yaml b/automated/linux/cyclictest/cyclictest.yaml
new file mode 100644
index 0000000..3859e69
--- /dev/null
+++ b/automated/linux/cyclictest/cyclictest.yaml
@@ -0,0 +1,43 @@
+metadata:
+ name: cyclictest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "cyclictest measures event latency in Linux kernel by
+ measuring the amount of time that passes between when a timer
+ expires and when the thread which set the timer actually
+ runs."
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - debian
+ - ubuntu
+ - fedora
+ - centos
+ - openembedded
+ scope:
+ - performance
+ environment:
+ - lava-test-shell
+ devices:
+ - hi6220-hikey
+ - apq8016-sbc
+ - mustang
+ - moonshot
+ - thunderX
+ - d03
+ - d05
+
+params:
+ # Priority of highest prio thread.
+ PRIORITY: "99"
+ # Base interval of thread in us.
+ INTERVAL: "10000"
+ # Number of threads.
+ THREADS: "1"
+ # Number of loops.
+ LOOPS: "10000"
+
+run:
+ steps:
+ - cd ./automated/linux/cyclictest/
+ - ./cyclictest.sh -p "${PRIORITY}" -i "${INTERVAL}" -t "${THREADS}" -l "${LOOPS}"
+ - ../../utils/send-to-lava.sh ./output/result.txt