mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	Add units to metrics and move pauseForSplashScreen
This commit is contained in:
		
										
											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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user