1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-16 02:02:35 +01:00

Update gfxbench to log correct scores.

* Updated regex to reflect correct test name.

* Enabling/disabling tests on setup was missing tesselation on some devices
  so changed order of toggle.

* Sometimes whilst collecting scores the workload grabs the wrong score.
  Updated to check the name of the test before grabbing the score.

* Tested on mate20, xperia, s9-exynos, s10-exynos, pixel-4
This commit is contained in:
Rob Freeman
2020-04-02 13:48:48 +01:00
committed by Marc Bonnici
parent 711bff6a60
commit dce07e5095
3 changed files with 43 additions and 56 deletions

View File

@@ -26,7 +26,7 @@ class Gfxbench(ApkUiautoWorkload):
re.compile(r'Car Chase Offscreen score (.+)'),
re.compile(r'Manhattan 3.1 score (.+)'),
re.compile(r'1080p Manhattan 3.1 Offscreen score (.+)'),
re.compile(r'1440p Manhattan 3.1 Offscreen score (.+)'),
re.compile(r'1440p Manhattan 3.1.1 Offscreen score (.+)'),
re.compile(r'Tessellation score (.+)'),
re.compile(r'Tessellation Offscreen score (.+)')]
score_regex = re.compile(r'.*?([\d.]+).*')