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 8ab734d2325e..27dc6e0ada43 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -2576,6 +2576,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 * |
