mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 06:34:13 +00:00 
			
		
		
		
	Add units to metrics and move pauseForSplashScreen
This commit is contained in:
		| @@ -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