diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-09-17 10:38:43 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-10-07 14:51:58 +0100 |
commit | 1530ae799754a890d2340d34aa480ba7360afc3c (patch) | |
tree | 9b817d0b92c1b3d7d18bb38626251978ca70eddf /templates | |
parent | 6776aea2f8bed4ca0d50c98c1f8075d8052f19a5 (diff) |
Added support for 'usb only' devices
The assumption about running with IP based adb connection was removed.
Now it should be possible to run with usb based adb connection in LAVA
Added templates and support for Nexus9 benchmarking
Added getprop to debug information
Target: fixed conditions for serial/IP address check
Note: Using Nexus10 as a target device as WA doesn't support Nexus9 yet.
Change-Id: I5188fa6bf919e85ccae989ba34a5704fb329b8a0
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/config-juno.py (renamed from templates/config.py) | 2 | ||||
-rwxr-xr-x | templates/config-nexus9.py | 28 | ||||
-rwxr-xr-x | templates/config-tc2.py | 26 | ||||
-rw-r--r-- | templates/nexus9_andebench.yaml | 12 | ||||
-rw-r--r-- | templates/nexus9_benchmarkpi.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_caffeinemark.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_deltablue.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_linpack.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_quadrant.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_scimark2.yaml | 11 | ||||
-rw-r--r-- | templates/nexus9_ubench.yaml | 11 |
11 files changed, 144 insertions, 1 deletions
diff --git a/templates/config.py b/templates/config-juno.py index 43f18df..1d5721f 100755 --- a/templates/config.py +++ b/templates/config-juno.py @@ -22,5 +22,5 @@ logging = { } device_config = dict( - adb_name="$ipaddr" + adb_name="$ipaddr", ) diff --git a/templates/config-nexus9.py b/templates/config-nexus9.py new file mode 100755 index 0000000..eacf2d4 --- /dev/null +++ b/templates/config-nexus9.py @@ -0,0 +1,28 @@ +reboot_policy = 'never' +instrumentation = [ + 'execution_time', + #'daq', + 'interrupts', + 'cpufreq', + #'hwmon', + #'perf', + #'streamline', +] + +result_processors = [ + 'standard', + 'csv', + 'json', + 'sqlite' +] + +logging = { + 'file format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s', + 'verbose format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s', +} + +device_config = dict( + adb_name="$ipaddr", + binaries_directory='/data/local/tmp', + working_directory='/storage/sdcard0', +) diff --git a/templates/config-tc2.py b/templates/config-tc2.py new file mode 100755 index 0000000..1d5721f --- /dev/null +++ b/templates/config-tc2.py @@ -0,0 +1,26 @@ +reboot_policy = 'never' +instrumentation = [ + 'execution_time', + #'daq', + #'interrupts', + #'cpufreq', + 'hwmon', + #'perf', + #'streamline', +] + +result_processors = [ + 'standard', + 'csv', + 'json', + 'sqlite' +] + +logging = { + 'file format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s', + 'verbose format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s', +} + +device_config = dict( + adb_name="$ipaddr", +) diff --git a/templates/nexus9_andebench.yaml b/templates/nexus9_andebench.yaml new file mode 100644 index 0000000..4c7a218 --- /dev/null +++ b/templates/nexus9_andebench.yaml @@ -0,0 +1,12 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: andebench + name: andebench + number_of_threads: 1 diff --git a/templates/nexus9_benchmarkpi.yaml b/templates/nexus9_benchmarkpi.yaml new file mode 100644 index 0000000..90d1e6b --- /dev/null +++ b/templates/nexus9_benchmarkpi.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: benchmarkpi + name: benchmarkpi diff --git a/templates/nexus9_caffeinemark.yaml b/templates/nexus9_caffeinemark.yaml new file mode 100644 index 0000000..7fea06c --- /dev/null +++ b/templates/nexus9_caffeinemark.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: caffeinemark + name: caffeinemark diff --git a/templates/nexus9_deltablue.yaml b/templates/nexus9_deltablue.yaml new file mode 100644 index 0000000..68e26bb --- /dev/null +++ b/templates/nexus9_deltablue.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: deltablue + name: deltablue diff --git a/templates/nexus9_linpack.yaml b/templates/nexus9_linpack.yaml new file mode 100644 index 0000000..2dde072 --- /dev/null +++ b/templates/nexus9_linpack.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: linpack + name: linpack diff --git a/templates/nexus9_quadrant.yaml b/templates/nexus9_quadrant.yaml new file mode 100644 index 0000000..d3bacad --- /dev/null +++ b/templates/nexus9_quadrant.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: quadrant + name: quadrant diff --git a/templates/nexus9_scimark2.yaml b/templates/nexus9_scimark2.yaml new file mode 100644 index 0000000..39a5835 --- /dev/null +++ b/templates/nexus9_scimark2.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: scimark2 + name: scimark2 diff --git a/templates/nexus9_ubench.yaml b/templates/nexus9_ubench.yaml new file mode 100644 index 0000000..d3a70b1 --- /dev/null +++ b/templates/nexus9_ubench.yaml @@ -0,0 +1,11 @@ +config: + device: Nexus10 + run_name: ART_benchmarking +global: + iterations: 13 +workloads: + - name: homescreen + params: + duration: 2 + - id: ubench + name: ubench |