public class PerformanceTimer extends Object
Modifier and Type | Method and Description |
---|---|
void |
print(PrintStream out)
Dump the total time, total number of starts and stops, and average run time of the
timer to an output stream.
|
void |
start()
Start the timer.
|
void |
stop()
Stop the timer.
|
public void start()
public void stop()
public void print(PrintStream out)
out
- output stream to write info to.Copyright © 2007-2017 The Apache Software Foundation