summaryrefslogtreecommitdiff
path: root/libs/hwui/ProfileData.cpp
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2019-09-04 13:33:59 -0700
committer Xin Li <delphij@google.com> 2019-09-04 13:33:59 -0700
commite199ca954dff7fdfb06e6280695d34a957ed5efc (patch)
tree78be7fa3d9855c2a536e80ed4e7360845a968791 /libs/hwui/ProfileData.cpp
parent1bc876bb5b2b8506fe5e47421456c36ba4eefdea (diff)
parent9e89d13906739e856ed809ba81c32415770717c6 (diff)
DO NOT MERGE - Merge Android 10 into master
Bug: 139893257 Change-Id: I9e3c4fe5406c9913d50fe3b07d7f7cef7a246b96
Diffstat (limited to 'libs/hwui/ProfileData.cpp')
-rw-r--r--libs/hwui/ProfileData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/ProfileData.cpp b/libs/hwui/ProfileData.cpp
index 16966619aace..70ca4e3e8074 100644
--- a/libs/hwui/ProfileData.cpp
+++ b/libs/hwui/ProfileData.cpp
@@ -104,8 +104,8 @@ void ProfileData::dump(int fd) const {
dprintf(fd, "\nStats since: %" PRIu64 "ns", mStatStartTime);
dprintf(fd, "\nTotal frames rendered: %u", mTotalFrameCount);
dprintf(fd, "\nJanky frames: %u (%.2f%%)", mJankFrameCount,
- mTotalFrameCount == 0 ? 0.0f :
- (float)mJankFrameCount / (float)mTotalFrameCount * 100.0f);
+ mTotalFrameCount == 0 ? 0.0f
+ : (float)mJankFrameCount / (float)mTotalFrameCount * 100.0f);
dprintf(fd, "\n50th percentile: %ums", findPercentile(50));
dprintf(fd, "\n90th percentile: %ums", findPercentile(90));
dprintf(fd, "\n95th percentile: %ums", findPercentile(95));