mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 01:59:13 +00:00
Add units to metrics and move pauseForSplashScreen
This commit is contained in:
parent
b6edd0627b
commit
7efdccf5c9
Binary file not shown.
@ -43,8 +43,8 @@ public class UiAutomation extends UxPerfUiAutomation {
|
|||||||
public void runUiAutomation() throws Exception {
|
public void runUiAutomation() throws Exception {
|
||||||
parameters = getParams();
|
parameters = getParams();
|
||||||
|
|
||||||
setScreenOrientation(ScreenOrientation.NATURAL);
|
|
||||||
pauseForSplashScreen();
|
pauseForSplashScreen();
|
||||||
|
setScreenOrientation(ScreenOrientation.NATURAL);
|
||||||
confirmAccess();
|
confirmAccess();
|
||||||
dismissWelcomeView();
|
dismissWelcomeView();
|
||||||
gesturesTest();
|
gesturesTest();
|
||||||
|
@ -154,9 +154,12 @@ class Multiapp(AndroidUiAutoBenchmark):
|
|||||||
for line in wfh:
|
for line in wfh:
|
||||||
match = regex.search(line)
|
match = regex.search(line)
|
||||||
if match:
|
if match:
|
||||||
context.result.add_metric((match.group('key') + "_start"), match.group('value1'))
|
context.result.add_metric((match.group('key') + "_start"),
|
||||||
context.result.add_metric((match.group('key') + "_finish"), match.group('value2'))
|
match.group('value1'), units='ms')
|
||||||
context.result.add_metric((match.group('key') + "_duration"), match.group('value3'))
|
context.result.add_metric((match.group('key') + "_finish"),
|
||||||
|
match.group('value2'), units='ms')
|
||||||
|
context.result.add_metric((match.group('key') + "_duration"),
|
||||||
|
match.group('value3'), units='ms')
|
||||||
|
|
||||||
def teardown(self, context):
|
def teardown(self, context):
|
||||||
super(Multiapp, self).teardown(context)
|
super(Multiapp, self).teardown(context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user