Modifier and Type | Class and Description |
---|---|
static class |
Profiler.Entry |
Modifier and Type | Field and Description |
---|---|
static int |
TO_MILLIS |
Constructor and Description |
---|
Profiler() |
Modifier and Type | Method and Description |
---|---|
void |
checkPoint(java.lang.String detail)
mark checkpoint
|
void |
dump(java.io.PrintStream p,
java.lang.String indent) |
long |
getElapsed() |
long |
getElapsedInMillis() |
Profiler.Entry |
getEntry(java.lang.String eventName) |
java.util.LinkedHashMap<java.lang.String,Profiler.Entry> |
getEvents() |
long |
getPartial() |
long |
getPartialInMillis() |
void |
reenable() |
void |
reset()
reset timers
|
public static final int TO_MILLIS
public void reset()
public void checkPoint(java.lang.String detail)
detail
- checkpoint informationpublic long getElapsed()
public long getElapsedInMillis()
public long getPartial()
public long getPartialInMillis()
public void dump(java.io.PrintStream p, java.lang.String indent)
public java.util.LinkedHashMap<java.lang.String,Profiler.Entry> getEvents()
public Profiler.Entry getEntry(java.lang.String eventName)
public void reenable()