|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.util.SimpleTimerNanos
public final class SimpleTimerNanos
A very simple timer for timing java method calls and other processes (JDK 5, nanos implementation).
Constructor Summary | |
---|---|
SimpleTimerNanos()
Constructor. |
Method Summary | |
---|---|
double |
elapsedMillis()
Gets elapsed time in milliseconds. |
long |
elapsedNanos()
Gets elapsed time in nanoseconds. |
double |
elapsedSeconds()
Gets elapsed time in seconds. |
void |
reset()
Resets the timer. |
void |
start()
Starts timing a job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTimerNanos()
Method Detail |
---|
public void reset()
public void start()
public long elapsedNanos()
public double elapsedMillis()
public double elapsedSeconds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |