Loading api/current.xml +90 −2 Original line number Diff line number Diff line Loading @@ -113183,6 +113183,28 @@ visibility="public" > </method> <method name="getGlobalClassInitCount" return="int" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getGlobalClassInitTime" return="int" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getGlobalExternalAllocCount" return="int" abstract="false" Loading Loading @@ -113429,6 +113451,28 @@ visibility="public" > </method> <method name="resetGlobalClassInitCount" return="void" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="resetGlobalClassInitTime" return="void" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="resetGlobalExternalAllocCount" return="void" abstract="false" Loading Loading @@ -215718,7 +215762,7 @@ synchronized="false" static="true" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > </method> Loading Loading @@ -215908,7 +215952,7 @@ value=""/sdcard/dmtrace.trace"" static="true" final="true" deprecated="not deprecated" deprecated="deprecated" visibility="public" > </field> Loading Loading @@ -215945,6 +215989,28 @@ visibility="public" > </field> <field name="KIND_GLOBAL_CLASS_INIT_COUNT" type="int" transient="false" volatile="false" value="32" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_GLOBAL_CLASS_INIT_TIME" type="int" transient="false" volatile="false" value="64" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_GLOBAL_EXT_ALLOCATED_BYTES" type="int" transient="false" Loading Loading @@ -216044,6 +216110,28 @@ visibility="public" > </field> <field name="KIND_THREAD_CLASS_INIT_COUNT" type="int" transient="false" volatile="false" value="2097152" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_THREAD_CLASS_INIT_TIME" type="int" transient="false" volatile="false" value="4194304" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_THREAD_EXT_ALLOCATED_BYTES" type="int" transient="false" core/java/android/os/Debug.java +14 −0 Original line number Diff line number Diff line Loading @@ -541,6 +541,14 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo public static int getGlobalFreedSize() { return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); } public static int getGlobalClassInitCount() { /* number of classes that have been successfully initialized */ return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_COUNT); } public static int getGlobalClassInitTime() { /* cumulative elapsed time for class initialization, in usec */ return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_TIME); } public static int getGlobalExternalAllocCount() { return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_EXT_ALLOCATED_OBJECTS); } Loading Loading @@ -584,6 +592,12 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo public static void resetGlobalFreedSize() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); } public static void resetGlobalClassInitCount() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_COUNT); } public static void resetGlobalClassInitTime() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_TIME); } public static void resetGlobalExternalAllocCount() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_EXT_ALLOCATED_OBJECTS); } Loading Loading
api/current.xml +90 −2 Original line number Diff line number Diff line Loading @@ -113183,6 +113183,28 @@ visibility="public" > </method> <method name="getGlobalClassInitCount" return="int" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getGlobalClassInitTime" return="int" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getGlobalExternalAllocCount" return="int" abstract="false" Loading Loading @@ -113429,6 +113451,28 @@ visibility="public" > </method> <method name="resetGlobalClassInitCount" return="void" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="resetGlobalClassInitTime" return="void" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="resetGlobalExternalAllocCount" return="void" abstract="false" Loading Loading @@ -215718,7 +215762,7 @@ synchronized="false" static="true" final="false" deprecated="not deprecated" deprecated="deprecated" visibility="public" > </method> Loading Loading @@ -215908,7 +215952,7 @@ value=""/sdcard/dmtrace.trace"" static="true" final="true" deprecated="not deprecated" deprecated="deprecated" visibility="public" > </field> Loading Loading @@ -215945,6 +215989,28 @@ visibility="public" > </field> <field name="KIND_GLOBAL_CLASS_INIT_COUNT" type="int" transient="false" volatile="false" value="32" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_GLOBAL_CLASS_INIT_TIME" type="int" transient="false" volatile="false" value="64" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_GLOBAL_EXT_ALLOCATED_BYTES" type="int" transient="false" Loading Loading @@ -216044,6 +216110,28 @@ visibility="public" > </field> <field name="KIND_THREAD_CLASS_INIT_COUNT" type="int" transient="false" volatile="false" value="2097152" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_THREAD_CLASS_INIT_TIME" type="int" transient="false" volatile="false" value="4194304" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="KIND_THREAD_EXT_ALLOCATED_BYTES" type="int" transient="false"
core/java/android/os/Debug.java +14 −0 Original line number Diff line number Diff line Loading @@ -541,6 +541,14 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo public static int getGlobalFreedSize() { return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); } public static int getGlobalClassInitCount() { /* number of classes that have been successfully initialized */ return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_COUNT); } public static int getGlobalClassInitTime() { /* cumulative elapsed time for class initialization, in usec */ return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_TIME); } public static int getGlobalExternalAllocCount() { return VMDebug.getAllocCount(VMDebug.KIND_GLOBAL_EXT_ALLOCATED_OBJECTS); } Loading Loading @@ -584,6 +592,12 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo public static void resetGlobalFreedSize() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_FREED_BYTES); } public static void resetGlobalClassInitCount() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_COUNT); } public static void resetGlobalClassInitTime() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_CLASS_INIT_TIME); } public static void resetGlobalExternalAllocCount() { VMDebug.resetAllocCount(VMDebug.KIND_GLOBAL_EXT_ALLOCATED_OBJECTS); } Loading