diff options
Diffstat (limited to 'core/java/android/os/Debug.java')
| -rw-r--r-- | core/java/android/os/Debug.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index e2e1bbe8487f..9584bc74d6f2 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -2582,6 +2582,13 @@ public final class Debug public static native long getIonMappedSizeKb(); /** + * Return memory size in kilobytes used by GPU. + * + * @hide + */ + public static native long getGpuTotalUsageKb(); + + /** * Return whether virtually-mapped kernel stacks are enabled (CONFIG_VMAP_STACK). * Note: caller needs config_gz read sepolicy permission * |
