public class Timer
extends java.lang.Object
Constructor and Description |
---|
Timer()
Creates a new one time profiling timer instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getElapsedMilis()
Returns the overall elapsed time measured in miliseconds.
|
long |
getElapsedNanos()
Returns the overall elapsed time measured in nanoseconds.
|
void |
startProfilingTimer()
Starts the timer, i.e.
|
void |
stopProfilingTimer()
Starts the timer, i.e.
|
public void startProfilingTimer()
public void stopProfilingTimer()
public long getElapsedNanos()
public long getElapsedMilis()