Sebastian Goscik
91210f26e9
RunCommand: WA no longer runs with no workloads specs
...
Previously if no worklaod specs were loaded, WA would still start instruments
and then go immediately to the teardown stage. This no longer happens.
2016-04-19 16:32:53 +01:00
Sergei Trofimov
44a49db04d
glbcorp: pep8 fix
...
Added a missing blank line between method declaration and class
attribute definitions.
2016-04-15 16:39:24 +01:00
setrofim
0bfa4bff3c
Merge pull request #142 from ep1cman/master
...
glbench updates
2016-04-14 16:41:26 +01:00
Sebastian Goscik
73aa590056
glbench: renamed start_activity to launch_package
...
To match changes made in: ff5f48b7e70117dc4161f2bd986438450f73cc16
2016-04-14 16:36:37 +01:00
Sebastian Goscik
985b249a24
glbench: Fixed ending regex
...
Updated the regex that detected the end of the benchmark to match the new
logcat format.
2016-04-14 16:36:37 +01:00
Sebastian Goscik
f5e138bed0
Merge pull request #141 from setrofim/master
...
boostrap: nicer error messages on config parasing.
2016-04-14 16:22:10 +01:00
Sergei Trofimov
b6c0e2e4fd
boostrap: nicer error messages on config parasing.
...
- handle ValueError as well as SyntaxError from config parser
- Report source file in the error message
2016-04-14 16:18:31 +01:00
Sebastian Goscik
df8ef6be6b
Merge pull request #133 from mcgeagh/uxperf
...
CpuUtilisationTimeline added. This now will generate cpu utilisation …
2016-04-14 14:05:58 +01:00
Michael McGeagh
8a3186e1c8
CpuUtilisationTimeline added. This now will generate cpu utilisation based on frequencies and a number of samples
...
Fixed error in percentage when frequency is 'None'. Now default to 0 in these cases
cpu_utilisation is now a separate parameter in cpustate. Now generates a floating point number representing the utilisation based on the maximum frequency of the capture. No longer performs averaging of values, this can be done as a post-processing step
cpu utilisation now based on the max cpu freq per core, not max captured freq overall
2016-04-14 14:03:28 +01:00
Sebastian Goscik
68043f2a52
Merge pull request #138 from mcgeagh/fps-allviews
...
fps: Can now process multiple 'view' attributes
2016-04-14 13:57:28 +01:00
Michael McGeagh
95bbce77a2
fps: Can now process multiple 'view' attributes
2016-04-14 13:12:39 +01:00
Sebastian Goscik
ec85f9f8a0
Merge pull request #140 from setrofim/master
...
ApkWorkload: add package verison to the result as a classifer.
2016-04-14 11:35:49 +01:00
Sergei Trofimov
82e4998092
Deprecating apk_version instrument.
2016-04-14 11:33:54 +01:00
Sergei Trofimov
48259d872b
ApkWorkload: add package verison to the result as a classifer.
2016-04-14 11:23:39 +01:00
setrofim
8d13e1f341
Merge pull request #128 from ep1cman/glbench_logcat_fix
...
glbench: Fixed updated logcat format
2016-04-13 16:46:09 +01:00
Sebastian Goscik
33ef949507
Merge pull request #135 from mcgeagh/fps-fix
...
Only check for crashed content if crash_check is true.
2016-04-11 13:38:18 +01:00
Michael McGeagh
68714e0e55
fps: Only check for crashed content if crash_check is true.
2016-04-11 12:01:12 +01:00
setrofim
9ee1666a76
Merge pull request #131 from ep1cman/master
...
SysfsExtractor & Busybox fixes
2016-04-07 10:31:31 +01:00
Sebastian Goscik
8dcdc9afe1
busybox: Rebuilt busybox binaries to prefer applets over system binaries
...
Busybox will now prefer to use its own built in applets before it tries
using the system binaries so that we are always running commands as expected.
2016-04-07 10:29:13 +01:00
Sebastian Goscik
724f6e590e
SysfsExtractor: Now performs tar and gzip separately
...
On some devices there were permissions issues when trying to tar and gzip
the temp-fs in one command. These two steps are now done separately.
2016-04-07 10:29:13 +01:00
Sebastian Goscik
507090515b
Merge pull request #134 from jimboatarm/master
...
Fix to install APKs with whitespace in their path name
2016-04-06 10:56:58 +01:00
James Hartley
1dfbe9e44c
Fix to install APKs with whitespace in their path name
2016-04-06 10:53:08 +01:00
setrofim
d303ab2b50
Merge pull request #132 from ep1cman/artem
...
ADB 1.0.35 support
2016-04-05 16:05:16 +01:00
Sebastian Goscik
b17ae78d6b
adb_shell: Now handles return codes from ADB
...
As of ADB 1.0.35/Android N, it will return the exit code of the command that it runs
This code handles this scenario as before WA treated a return code from ADB as an
error with ADB.
2016-04-05 15:53:41 +01:00
Sergei Trofimov
391b0b01fc
pylint/pep8 fixes
...
- android/workload: emoved an extra bank line between methods
- trace_cmd: define member attribute inside __init__
- adb_shell: ignore pylint warning about too many branches in this case
2016-04-05 11:36:39 +01:00
setrofim
20861f0ee4
Merge pull request #130 from jimboatarm/master
...
Fix for packages without launch activities
2016-04-05 11:00:50 +01:00
James Hartley
ff5f48b7e7
Fix for packages without launch activities
...
If the package has no defined launch activity you must call the
activity manager in a different way.
2016-04-05 10:24:42 +01:00
Sebastian Goscik
9a301175b0
glbench: Fixed updated logcat format
...
The old results looked like:
I/TfwActivity(30824): "description": "",
I/TfwActivity(30824): "elapsed_time": 62070,
I/TfwActivity(30824): "error": "NOERROR",
The new format is:
04-04 11:38:04.144 1410 1410 I TfwActivity: "description": "",
04-04 11:38:04.144 1410 1410 I TfwActivity: "elapsed_time": 62009,
04-04 11:38:04.144 1410 1410 I TfwActivity: "error": "NOERROR",
2016-04-04 17:33:48 +01:00
setrofim
712c79020d
Merge pull request #126 from ep1cman/master
...
ResourceResolver: Show version number when resource wasn't found.
2016-03-30 11:05:21 +01:00
Sebastian Goscik
12dfbef76b
ResourceResolver: Show version number when resource wasn't found.
...
If the ResourceResolver was looking for a specific version of a
resource and could not find it, this version number is now shown
in the error message.
2016-03-30 11:01:35 +01:00
Sebastian Goscik
b1f607ef70
Merge pull request #125 from setrofim/master
...
trace-cmd fixes
2016-03-24 18:13:16 +00:00
Sergei Trofimov
107e8414bb
trace-cmd: set a minimum bound on trace pull timeout
...
The timeout for the pulling the trace file after the run is being set
based on the time for which the trace was collected. For workloads with
short execution time, but large number of events, the resulting timeout
might be too short. To deal with this, do not let the timout be shorter
than 1 minute.
2016-03-24 16:49:42 +00:00
Sergei Trofimov
4f8b7e9f59
trace-cmd: updating sched_switch parser to handle both formats.
...
Depending on the kernel, sched_switch events may be formatted one of two
different ways in the text output. Previously, we've only handled the
"old" format. This commit updates the parser to handle the new format as
well.
2016-03-24 16:33:29 +00:00
setrofim
a077e7df3c
Merge pull request #124 from ep1cman/master
...
BaseLinuxDevice: gzipped property files are now zcat'ed
2016-03-24 16:30:32 +00:00
Sebastian Goscik
a2257fe1e2
BaseLinuxDevice: gzipped property files are now zcat'ed
...
Before they were cat'ed this gave garbage output for compressed files.
Cat-ing is necessary since not all properties are normal files (sysfs).
2016-03-24 16:28:19 +00:00
Sebastian Goscik
50353d0b8f
Merge pull request #122 from Sticklyman1936/lmbench_update
...
lmbench: Tidied up the code and improved stability
2016-03-24 16:26:52 +00:00
setrofim
0f5621ff66
Merge pull request #123 from Sticklyman1936/sysbench_fix
...
sysbench: use device busybox binary
2016-03-24 16:24:38 +00:00
Sascha Bischoff
2eca77fb02
sysbench: use device busybox binary
...
Use the full path to busybox on the target device as opposed to
assuming it is found on the path.
2016-03-24 16:21:01 +00:00
Sascha Bischoff
3de5b5fe0b
lmbench: Tidied up the code and improved stability
...
This patch tidies up the benchmark code to bring it in line with the
style used in Workload Automation in general. Additionally, the
results from sub-benchmarks are now directly written to a file on the
device as opposed to processing the standard output/error from the
benchmark, which was error prone.
2016-03-24 10:20:32 +00:00
Sebastian Goscik
499a9f4082
Merge pull request #120 from setrofim/master
...
applaunch: pass the location of busybox into the script
2016-03-23 16:32:50 +00:00
Sergei Trofimov
3043506d86
applaunch: pass the location of busybox into the script
...
applaunch creates and deploys an auxilary script in order to collect
precise timings. This script invoked busybox with the assumption that it
is in PATH.
Since recent changes mean that it is no longer deployed to /system/bin,
the busybox in not found. With this commit, the full path to busybox
will be passed into the script's template.
2016-03-23 16:28:18 +00:00
Sebastian Goscik
7db904b359
Merge pull request #119 from ep1cman/master
...
adb_shell: Fixed checking exit codes on Android N
2016-03-23 13:51:17 +00:00
Sebastian Goscik
5abeb7aac2
adb_shell: Fixed checking exit codes on Android N
...
As of android N '\n' is used as the new line separator not '\r\n'.
This fix makes the function detect which is being used by the device.
2016-03-23 13:43:07 +00:00
setrofim
e04691afb9
Merge pull request #118 from ep1cman/master
...
daq: Fixed channel merging
2016-03-21 11:22:10 +00:00
Sebastian Goscik
15ced50640
daq: Fixed channel merging
...
Fixed channel merging when setting merge to True.
Channel merges done by setting a mapping manually were not affected by this bug.
2016-03-21 11:15:30 +00:00
setrofim
1a2e1fdf75
Merge pull request #114 from ep1cman/master
...
dhyrstone: Fixed arm64 binary
2016-03-15 14:40:47 +00:00
Sebastian Goscik
3531dd6d07
dhyrstone: Fixed arm64 binary
...
It was dynamically linked, its is now statically linked
2016-03-15 14:38:18 +00:00
setrofim
cf55f317f8
Merge pull request #113 from ep1cman/master
...
freq_sweep: Improved documentation
2016-03-09 16:52:04 +00:00
Sebastian Goscik
79554a2dbc
freq_sweep: Improved documentation
...
- Added explanation that this instrument does not taskset workloads
- Fixed formatting issue with the agenda example
2016-03-09 16:37:15 +00:00
setrofim
06c232545a
Merge pull request #112 from ep1cman/master
...
dhrystone: Updated executable resolution
2016-03-09 14:57:49 +00:00