public class Profiler extends StopWatch
| Constructor and Description |
|---|
Profiler()
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addData(java.lang.String key,
java.lang.String value)
Adds data to description output
|
void |
fullDescription(java.lang.String msg)
Prints out a full description of all times that were saved along with
other relevant statistical data.
|
static void |
main(java.lang.String[] args)
For testing purposes only!
|
void |
reset()
Resets this objects values.
|
void |
start()
Starts a timing operation.
|
void |
stop()
Stops a timing operation.
|
createStopWatchForSubtask, formattedMillis, getLapTimeMillis, getLapTimeNanos, getStartTime, getSubtaskDetails, logLapTime, logLapTime, logLapTimeWithSubtaskDetails, setLoggerpublic void start()
public void stop()
public void fullDescription(java.lang.String msg)
msg - A message to be printed out with the data.public void addData(java.lang.String key,
java.lang.String value)
public static void main(java.lang.String[] args)