summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-04-07 18:03:31 -0700
committerYing Wang <wangying@google.com>2015-04-07 18:03:31 -0700
commit05f5674ae8cae94c9cc3f039e55747f0e787f959 (patch)
treeedfecd6fa69c60a32fdcf1f09fb1688b67daf2f9 /libs
parent9f3f6000ed09e69296fe722bd818001f9e61cc6f (diff)
downloadframeworks_base-05f5674ae8cae94c9cc3f039e55747f0e787f959.zip
frameworks_base-05f5674ae8cae94c9cc3f039e55747f0e787f959.tar.gz
frameworks_base-05f5674ae8cae94c9cc3f039e55747f0e787f959.tar.bz2
Fix 64-bit build.
Change-Id: I9f2e2edf276f98864b65708b746bf938a4a3c8d6
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/JankTracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/JankTracker.cpp b/libs/hwui/JankTracker.cpp
index a72faea..cc5c403 100644
--- a/libs/hwui/JankTracker.cpp
+++ b/libs/hwui/JankTracker.cpp
@@ -239,7 +239,7 @@ void JankTracker::dumpBuffer(const void* buffer, size_t bufsize, int fd) {
}
void JankTracker::dumpData(const ProfileData* data, int fd) {
- dprintf(fd, "\nStats since: %lluns", data->statStartTime);
+ dprintf(fd, "\nStats since: %" PRIu64 "ns", data->statStartTime);
dprintf(fd, "\nTotal frames rendered: %u", data->totalFrameCount);
dprintf(fd, "\nJanky frames: %u (%.2f%%)", data->jankFrameCount,
(float) data->jankFrameCount / (float) data->totalFrameCount * 100.0f);