diff options
| author | Ian Rogers <irogers@google.com> | 2014-01-29 15:35:17 -0800 |
|---|---|---|
| committer | Ian Rogers <irogers@google.com> | 2014-01-29 15:35:17 -0800 |
| commit | f8852d0494a260c583795a96a2a06c49b86a9b10 (patch) | |
| tree | f22129d5cc0ede4c1c70db623b3d553a0e434961 /rsContext.cpp | |
| parent | 4cc3c4d3f4b6625cccbc83b4bd014f8129b103a4 (diff) | |
| download | android_frameworks_rs-f8852d0494a260c583795a96a2a06c49b86a9b10.tar.gz android_frameworks_rs-f8852d0494a260c583795a96a2a06c49b86a9b10.tar.bz2 android_frameworks_rs-f8852d0494a260c583795a96a2a06c49b86a9b10.zip | |
Work-around 64bit build issues.
Log errors and abort as a temporary work-around for 64bit support.
Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
Diffstat (limited to 'rsContext.cpp')
| -rw-r--r-- | rsContext.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rsContext.cpp b/rsContext.cpp index 01debb29..3c017d76 100644 --- a/rsContext.cpp +++ b/rsContext.cpp @@ -32,6 +32,7 @@ #include <sys/syscall.h> #include <string.h> #include <dlfcn.h> +#include <inttypes.h> #include <unistd.h> #if !defined(RS_SERVER) && !defined(RS_COMPATIBILITY_LIB) && \ @@ -182,7 +183,8 @@ void Context::timerPrint() { if (props.mLogTimes) { - ALOGV("RS: Frame (%i), Script %2.1f%% (%i), Swap %2.1f%% (%i), Idle %2.1f%% (%lli), Internal %2.1f%% (%lli), Avg fps: %u", + ALOGV("RS: Frame (%i), Script %2.1f%% (%i), Swap %2.1f%% (%i), Idle %2.1f%% (%" PRIi64 "), " + "Internal %2.1f%% (%" PRIi64 "), Avg fps: %u", mTimeMSLastFrame, 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript, 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap, |
