Marc Bonnici
7dce0fb208
workloads/jankbench: Ensure logcat monitor thread is terminated
...
Previously the LogcatRunMonitor left the logcat process running in the
background causing issues with concurrent accesses. Now ensure the thread
terminates correctly.
2018-10-12 13:41:21 +01:00
Marc Bonnici
ca03f21f46
workloads/jankbench: Update to clear logcat using devlib
...
Leftover code from WA2 meant that logcat was cleared on the device by
the workload directly instead of using devlib, this caused issues if logcat was
still being cleared from other areas of the code.
2018-09-10 13:30:59 +01:00
Marc Bonnici
59e29de285
workloads/jankbench: Replace errors during decoding
...
When running jankbench invalid bytes can be read from the device causing
decoding in the monitor to fail, now replace any invalid sequences.
2018-09-10 13:30:59 +01:00
Marc Bonnici
925bc8b719
wa: pep8 fixes
2018-07-06 14:39:41 +01:00
Marc Bonnici
9b2bc1369c
wa/workloads: pylint fixes
2018-07-06 14:39:41 +01:00
Marc Bonnici
6e94cbd36b
wa/workloads: pep8 fixes
2018-07-06 14:39:41 +01:00
Marc Bonnici
60b37995e0
workloads/jankbench: Update to check if running in a container.
...
Instead of using the os to determine whether the screen state should
be checked, use target flag to see if running inside a container.
2018-07-02 10:59:18 +01:00
Marc Bonnici
edfbee291b
workloads/jankbench: Fix typo in method name
...
Fix incorrect method name.
2018-06-29 17:25:09 +01:00
Marc Bonnici
04cbf51a15
workloads/jankbench: Fix screen state for ChromeOS
...
We cannot currently determine the screen state from cannot android
containter so only check on android systems.
2018-06-29 17:25:09 +01:00
Sergei Trofimov
b3de85455a
Add support for Python 3
...
Add support for running under Python 3, while maintaining compatibility
with Python 2.
See http://python-future.org/compatible_idioms.html for more details
behind these changes.
2018-06-07 14:48:40 +01:00
Marc Bonnici
6754ecd6d7
wa/workloads: Update to consistently use timeout
parameter
2018-05-14 17:07:49 +01:00
Marc Bonnici
6f5fca36df
wa/workloads: Change to use 'loops' parameter.
...
Change to consistently use 'loops' parameter instead of 'iterations'
etc.
2018-05-14 17:07:49 +01:00
Sergei Trofimov
5ed5b6f819
workloads: add jankbench
...
Add automation for Google's jankbench workload.
2018-03-12 17:46:14 +00:00