summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-12-09 01:53:35 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-12-09 01:53:37 +0000
commit8b33cf4d34a9ea75e1121ee2f1d829b21f3cb5d6 (patch)
tree6309c2313651a681589d5ed56e36a6b530375af1 /core/java/android
parent52070f81f2c4c41ffe74adcabda64c2b0349c62d (diff)
parent1a4b5a4f02e7d8ff8ff645377d97e6062d36aeaa (diff)
downloadframeworks_base-8b33cf4d34a9ea75e1121ee2f1d829b21f3cb5d6.zip
frameworks_base-8b33cf4d34a9ea75e1121ee2f1d829b21f3cb5d6.tar.gz
frameworks_base-8b33cf4d34a9ea75e1121ee2f1d829b21f3cb5d6.tar.bz2
Merge "Work on issue #18640385: Add procstats test mode" into lmp-mr1-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/Debug.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java
index 7eb606a..a9deaf3 100644
--- a/core/java/android/os/Debug.java
+++ b/core/java/android/os/Debug.java
@@ -1074,9 +1074,10 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
/**
* Retrieves the PSS memory used by the process as given by the
* smaps. Optionally supply a long array of 1 entry to also
- * receive the uss of the process. @hide
+ * receive the uss of the process, and another array to also
+ * retrieve the separate memtrack size. @hide
*/
- public static native long getPss(int pid, long[] outUss);
+ public static native long getPss(int pid, long[] outUss, long[] outMemtrack);
/** @hide */
public static final int MEMINFO_TOTAL = 0;