Loading libs/hwui/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,7 @@ cc_defaults { shared_libs: [ "liblog", "libcutils", "libstatslog", "libutils", "libEGL", "libGLESv2", Loading libs/hwui/JankTracker.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <errno.h> #include <inttypes.h> #include <statslog.h> #include <sys/mman.h> #include <algorithm> Loading Loading @@ -181,6 +182,7 @@ void JankTracker::finishFrame(const FrameInfo& frame) { ALOGI("%s", ss.str().c_str()); // Just so we have something that counts up, the value is largely irrelevant ATRACE_INT(ss.str().c_str(), ++sDaveyCount); android::util::stats_write(android::util::DAVEY_OCCURRED, getuid(), ns2ms(totalDuration)); } } Loading Loading
libs/hwui/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,7 @@ cc_defaults { shared_libs: [ "liblog", "libcutils", "libstatslog", "libutils", "libEGL", "libGLESv2", Loading
libs/hwui/JankTracker.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <errno.h> #include <inttypes.h> #include <statslog.h> #include <sys/mman.h> #include <algorithm> Loading Loading @@ -181,6 +182,7 @@ void JankTracker::finishFrame(const FrameInfo& frame) { ALOGI("%s", ss.str().c_str()); // Just so we have something that counts up, the value is largely irrelevant ATRACE_INT(ss.str().c_str(), ++sDaveyCount); android::util::stats_write(android::util::DAVEY_OCCURRED, getuid(), ns2ms(totalDuration)); } } Loading