Loading apct-tests/perftests/windowmanager/src/android/wm/InternalWindowOperationPerfTest.java +5 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ public class InternalWindowOperationPerfTest extends WindowManagerPerfTestBase "applyPostLayoutPolicy", "applySurfaceChanges", "AppTransitionReady", "closeSurfaceTransactiom", "closeSurfaceTransaction", "openSurfaceTransaction", "performLayout", "performSurfacePlacement", Loading Loading @@ -98,6 +98,10 @@ public class InternalWindowOperationPerfTest extends WindowManagerPerfTestBase } mTraceMarkParser.forAllSlices((key, slices) -> { if (slices.size() < 2) { Log.w(TAG, "No sufficient samples: " + key); return; } for (TraceMarkSlice slice : slices) { state.addExtraResult(key, (long) (slice.getDurationInSeconds() * NANOS_PER_S)); } Loading Loading
apct-tests/perftests/windowmanager/src/android/wm/InternalWindowOperationPerfTest.java +5 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ public class InternalWindowOperationPerfTest extends WindowManagerPerfTestBase "applyPostLayoutPolicy", "applySurfaceChanges", "AppTransitionReady", "closeSurfaceTransactiom", "closeSurfaceTransaction", "openSurfaceTransaction", "performLayout", "performSurfacePlacement", Loading Loading @@ -98,6 +98,10 @@ public class InternalWindowOperationPerfTest extends WindowManagerPerfTestBase } mTraceMarkParser.forAllSlices((key, slices) -> { if (slices.size() < 2) { Log.w(TAG, "No sufficient samples: " + key); return; } for (TraceMarkSlice slice : slices) { state.addExtraResult(key, (long) (slice.getDurationInSeconds() * NANOS_PER_S)); } Loading