summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-03-30 18:15:44 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-03-30 18:15:44 +0000
commit2dbf7c97a39db33331c21fbd95d5cfea0947eadd (patch)
tree57afd8bdcb97b8b076c4f885fe9d01a48c0231a9
parent5f8d23383553a1bf80b6851078321a7134e17a70 (diff)
parent45cb21ad90694ff44d58afcccb5c3156b02bbf6e (diff)
Merge "Align transaction trace timestamps with wm and sf trace" into rvc-dev
-rw-r--r--services/surfaceflinger/SurfaceInterceptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceInterceptor.cpp b/services/surfaceflinger/SurfaceInterceptor.cpp
index 5b3cd698b5..80102bdbb6 100644
--- a/services/surfaceflinger/SurfaceInterceptor.cpp
+++ b/services/surfaceflinger/SurfaceInterceptor.cpp
@@ -194,7 +194,7 @@ int32_t SurfaceInterceptor::getLayerIdFromHandle(const sp<const IBinder>& handle
Increment* SurfaceInterceptor::createTraceIncrementLocked() {
Increment* increment(mTrace.add_increment());
- increment->set_time_stamp(systemTime());
+ increment->set_time_stamp(elapsedRealtimeNano());
return increment;
}