static interface Tracer.TracingStatistic
Modifier and Type | Method and Description |
---|---|
boolean |
enable()
Called when this tracing statistic is first enabled.
|
Tracer.AtomicTracerStatMap |
getTracingStat()
Returns this tracing statistic's trace map.
|
java.lang.String |
getUnits()
A string that should be appended to the numeric output
indicating what this is.
|
long |
start(java.lang.Thread thread)
This method is called at the start of the trace.
|
long |
stop(java.lang.Thread thread)
This method is called at the end of the trace.
|
long start(java.lang.Thread thread)
thread
- The current threadlong stop(java.lang.Thread thread)
thread
- The current threadboolean enable()
Tracer.AtomicTracerStatMap getTracingStat()
java.lang.String getUnits()