mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-13 22:28:36 +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 {
|
||||
parameters = getParams();
|
||||
|
||||
setScreenOrientation(ScreenOrientation.NATURAL);
|
||||
pauseForSplashScreen();
|
||||
setScreenOrientation(ScreenOrientation.NATURAL);
|
||||
confirmAccess();
|
||||
dismissWelcomeView();
|
||||
gesturesTest();
|
||||
|
@ -154,9 +154,12 @@ class Multiapp(AndroidUiAutoBenchmark):
|
||||
for line in wfh:
|
||||
match = regex.search(line)
|
||||
if match:
|
||||
context.result.add_metric((match.group('key') + "_start"), match.group('value1'))
|
||||
context.result.add_metric((match.group('key') + "_finish"), match.group('value2'))
|
||||
context.result.add_metric((match.group('key') + "_duration"), match.group('value3'))
|
||||
context.result.add_metric((match.group('key') + "_start"),
|
||||
match.group('value1'), units='ms')
|
||||
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):
|
||||
super(Multiapp, self).teardown(context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user