mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-04 04:12:42 +01:00
Changes Action Logger to give epoch time
Log time changed to produce epoch time in milli seconds. Nano to milli second conversion done in uxperf result processor is removed. Tested on Mate8 and time obtained is verified.
This commit is contained in:
@@ -89,13 +89,13 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
|
||||
|
||||
public void start() {
|
||||
if (enabled) {
|
||||
Log.d("UX_PERF", testTag + "_start " + System.nanoTime());
|
||||
Log.d("UX_PERF", testTag + "_start " + System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
|
||||
public void stop() throws Exception {
|
||||
if (enabled) {
|
||||
Log.d("UX_PERF", testTag + "_end " + System.nanoTime());
|
||||
Log.d("UX_PERF", testTag + "_end " + System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -228,6 +228,7 @@ public class BaseUiAutomation extends UiAutomatorTestCase {
|
||||
UiDevice.getInstance().pressEnter();
|
||||
}
|
||||
|
||||
|
||||
public void pressBack() {
|
||||
UiDevice.getInstance().pressBack();
|
||||
}
|
||||
|
Reference in New Issue
Block a user