aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2018-07-20 18:52:50 +0800
committerChase Qi <chase.qi@linaro.org>2018-07-23 11:55:41 +0800
commit4406590cb16bd0763ab2bf42fb86623f79f7dac1 (patch)
treec29abc2aa2b003d0d3f08befc60dae01efedb29a
parent21e336179805d17c8396409f70790b8d544f4c78 (diff)
Add agenda and config templates for WA3
* WA3 uses .yaml instread of .py for config file. * In WA3, ‘Instrumentation’ and ‘Result Processors’ fall under the same category of ‘augmentations’. For compatibility the old naming structure is still valid however using the new entry names is recommended. Change-Id: Ia6f707b67e2309012e3f3775f6f039457cf8cf58 Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rw-r--r--.gitreview4
-rw-r--r--agenda/android-dhrystone.yaml6
-rw-r--r--agenda/linux-dhrystone.yaml6
-rw-r--r--agenda/linux-workloads.yaml17
-rw-r--r--agenda/qcomlt/linux-workloads-db410c.yaml24
-rw-r--r--config/generic-android.yaml18
-rw-r--r--config/generic-linux-localhost.yaml19
-rw-r--r--config/generic-linux-remote.yaml19
8 files changed, 113 insertions, 0 deletions
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..15ca22e
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,4 @@
+[gerrit]
+host=review.linaro.org
+port=29418
+project=qa/wa-templates
diff --git a/agenda/android-dhrystone.yaml b/agenda/android-dhrystone.yaml
new file mode 100644
index 0000000..5e3ad31
--- /dev/null
+++ b/agenda/android-dhrystone.yaml
@@ -0,0 +1,6 @@
+global:
+ iterations: 3
+
+workloads:
+ - id: dhrystone
+ name: dhrystone
diff --git a/agenda/linux-dhrystone.yaml b/agenda/linux-dhrystone.yaml
new file mode 100644
index 0000000..5e3ad31
--- /dev/null
+++ b/agenda/linux-dhrystone.yaml
@@ -0,0 +1,6 @@
+global:
+ iterations: 3
+
+workloads:
+ - id: dhrystone
+ name: dhrystone
diff --git a/agenda/linux-workloads.yaml b/agenda/linux-workloads.yaml
new file mode 100644
index 0000000..31a9424
--- /dev/null
+++ b/agenda/linux-workloads.yaml
@@ -0,0 +1,17 @@
+workloads:
+ - id: cyclictest
+ name: cyclictest
+ - id: dhrystone
+ name: dhrystone
+ - id: hackbench
+ name: hackbench
+ - id: idle
+ name: idle
+ - id: linpack-cli
+ name: linpack-cli
+ - id: memcpy
+ name: memcpy
+ - id: stream
+ name: stream
+ - id: sysbench
+ name: sysbench
diff --git a/agenda/qcomlt/linux-workloads-db410c.yaml b/agenda/qcomlt/linux-workloads-db410c.yaml
new file mode 100644
index 0000000..5ea5305
--- /dev/null
+++ b/agenda/qcomlt/linux-workloads-db410c.yaml
@@ -0,0 +1,24 @@
+config:
+ instrumentation: [~execution_time, energy_probe_ext, trace-cmd]
+ energy_probe_ext:
+ config: "$WA_EXTENSION_PATHS/config-db410c-01-aep"
+ trace-cmd:
+ events: ['cpu_idle*']
+ buffer_size: 49192
+workloads:
+ - id: cyclictest
+ name: cyclictest
+ - id: dhrystone
+ name: dhrystone
+ - id: hackbench
+ name: hackbench
+ - id: idle
+ name: idle
+ - id: linpack-cli
+ name: linpack-cli
+ - id: memcpy
+ name: memcpy
+ - id: stream
+ name: stream
+ - id: sysbench
+ name: sysbench
diff --git a/config/generic-android.yaml b/config/generic-android.yaml
new file mode 100644
index 0000000..21eedee
--- /dev/null
+++ b/config/generic-android.yaml
@@ -0,0 +1,18 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_android
+device_config:
+ device: 'android_serial'
+ working_directory: '/data/local/tmp/wa-working'
diff --git a/config/generic-linux-localhost.yaml b/config/generic-linux-localhost.yaml
new file mode 100644
index 0000000..99dab34
--- /dev/null
+++ b/config/generic-linux-localhost.yaml
@@ -0,0 +1,19 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_linux
+device_config:
+ host: 127.0.0.1
+ username: root
+ password: linaro123
diff --git a/config/generic-linux-remote.yaml b/config/generic-linux-remote.yaml
new file mode 100644
index 0000000..e5d07a4
--- /dev/null
+++ b/config/generic-linux-remote.yaml
@@ -0,0 +1,19 @@
+reboot_policy: never
+assets_repository: null
+execution_order: by_iteration
+augmentations:
+ - execution_time
+ - csv
+ - sqlite
+
+logging:
+ color: false
+ file_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+ regular_format: '%(levelname)-8s %(message)s'
+ verbose_format: '%(asctime)s %(levelname)-8s %(name)s: %(message)s'
+
+device: generic_linux
+device_config:
+ host: lava-target-ip
+ username: root
+ password: linaro123