public class Profile
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
static void |
list()
List all captured data.
|
void |
run() |
static void |
startCollecting()
Start collecting data.
|
static void |
stopCollecting()
Stop collecting data.
|
static void |
visit(int i)
This method is called by an instrumented application whenever a line of
code is executed.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static void visit(int i)
i - the line number that is executedpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void startCollecting()
public static void stopCollecting()
public static void list()