diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2021-07-12 16:49:16 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-07-12 16:49:16 +0000 |
commit | 1f5ba0b268614e0c209fae170a7d40d953d739f7 (patch) | |
tree | 6e1cca767393d54a8a4cf537bf44a37ed366e926 | |
parent | 8df5d94b9830bca54edb3582330260e336bff9fc (diff) | |
parent | d83171d954df219021ed50615edebb00701cd78e (diff) | |
download | base-1f5ba0b268614e0c209fae170a7d40d953d739f7.tar.gz |
Merge "getGpuDmaBufUsageKb: Report usage in Kilobytes"
-rw-r--r-- | core/jni/android_os_Debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_os_Debug.cpp b/core/jni/android_os_Debug.cpp index f379ba0ddebb..5814a187506f 100644 --- a/core/jni/android_os_Debug.cpp +++ b/core/jni/android_os_Debug.cpp @@ -877,7 +877,7 @@ static jlong android_os_Debug_getGpuDmaBufUsageKb(JNIEnv* env, jobject clazz) { continue; } - sizeKb += importer_info->second.size; + sizeKb += importer_info->second.size / 1024; } return sizeKb; |