dalvik.system
Class VMDebug
java.lang.Object
dalvik.system.VMDebug
public final class VMDebug
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_METHOD_TRACE_FILE_NAME
public static final java.lang.String DEFAULT_METHOD_TRACE_FILE_NAME
- See Also:
- Constant Field Values
TRACE_COUNT_ALLOCS
public static final int TRACE_COUNT_ALLOCS
- See Also:
- Constant Field Values
KIND_GLOBAL_ALLOCATED_OBJECTS
public static final int KIND_GLOBAL_ALLOCATED_OBJECTS
- See Also:
- Constant Field Values
KIND_GLOBAL_ALLOCATED_BYTES
public static final int KIND_GLOBAL_ALLOCATED_BYTES
- See Also:
- Constant Field Values
KIND_GLOBAL_FREED_OBJECTS
public static final int KIND_GLOBAL_FREED_OBJECTS
- See Also:
- Constant Field Values
KIND_GLOBAL_FREED_BYTES
public static final int KIND_GLOBAL_FREED_BYTES
- See Also:
- Constant Field Values
KIND_GLOBAL_GC_INVOCATIONS
public static final int KIND_GLOBAL_GC_INVOCATIONS
- See Also:
- Constant Field Values
KIND_GLOBAL_EXT_ALLOCATED_OBJECTS
public static final int KIND_GLOBAL_EXT_ALLOCATED_OBJECTS
- See Also:
- Constant Field Values
KIND_GLOBAL_EXT_ALLOCATED_BYTES
public static final int KIND_GLOBAL_EXT_ALLOCATED_BYTES
- See Also:
- Constant Field Values
KIND_GLOBAL_EXT_FREED_OBJECTS
public static final int KIND_GLOBAL_EXT_FREED_OBJECTS
- See Also:
- Constant Field Values
KIND_GLOBAL_EXT_FREED_BYTES
public static final int KIND_GLOBAL_EXT_FREED_BYTES
- See Also:
- Constant Field Values
KIND_THREAD_ALLOCATED_OBJECTS
public static final int KIND_THREAD_ALLOCATED_OBJECTS
- See Also:
- Constant Field Values
KIND_THREAD_ALLOCATED_BYTES
public static final int KIND_THREAD_ALLOCATED_BYTES
- See Also:
- Constant Field Values
KIND_THREAD_FREED_OBJECTS
public static final int KIND_THREAD_FREED_OBJECTS
- See Also:
- Constant Field Values
KIND_THREAD_FREED_BYTES
public static final int KIND_THREAD_FREED_BYTES
- See Also:
- Constant Field Values
KIND_THREAD_GC_INVOCATIONS
public static final int KIND_THREAD_GC_INVOCATIONS
- See Also:
- Constant Field Values
KIND_THREAD_EXT_ALLOCATED_OBJECTS
public static final int KIND_THREAD_EXT_ALLOCATED_OBJECTS
- See Also:
- Constant Field Values
KIND_THREAD_EXT_ALLOCATED_BYTES
public static final int KIND_THREAD_EXT_ALLOCATED_BYTES
- See Also:
- Constant Field Values
KIND_THREAD_EXT_FREED_OBJECTS
public static final int KIND_THREAD_EXT_FREED_OBJECTS
- See Also:
- Constant Field Values
KIND_THREAD_EXT_FREED_BYTES
public static final int KIND_THREAD_EXT_FREED_BYTES
- See Also:
- Constant Field Values
KIND_ALL_COUNTS
public static final int KIND_ALL_COUNTS
- See Also:
- Constant Field Values
lastDebuggerActivity
public static long lastDebuggerActivity()
isDebuggingEnabled
public static boolean isDebuggingEnabled()
isDebuggerConnected
public static boolean isDebuggerConnected()
startMethodTracing
public static void startMethodTracing()
startMethodTracing
public static void startMethodTracing(java.lang.String traceFileName,
int bufferSize,
int flags)
stopMethodTracing
public static void stopMethodTracing()
startEmulatorTracing
public static void startEmulatorTracing()
stopEmulatorTracing
public static void stopEmulatorTracing()
threadCpuTimeNanos
public static long threadCpuTimeNanos()
startAllocCounting
public static void startAllocCounting()
stopAllocCounting
public static void stopAllocCounting()
getAllocCount
public static int getAllocCount(int kind)
resetAllocCount
public static void resetAllocCount(int kinds)
setAllocationLimit
public static int setAllocationLimit(int limit)
setGlobalAllocationLimit
public static int setGlobalAllocationLimit(int limit)
startInstructionCounting
public static void startInstructionCounting()
stopInstructionCounting
public static void stopInstructionCounting()
getInstructionCount
public static void getInstructionCount(int[] counts)
resetInstructionCount
public static void resetInstructionCount()
printLoadedClasses
public static void printLoadedClasses(int flags)
getLoadedClassCount
public static int getLoadedClassCount()
dumpHprofData
public static void dumpHprofData(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2010. All Rights Reserved.