|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.util.StopWatch com.sun.labs.minion.util.NanoWatch
public class NanoWatch
A nanosecond stop watch.
Field Summary |
---|
Fields inherited from class com.sun.labs.minion.util.StopWatch |
---|
clicks, lastStart, lastTime, time |
Constructor Summary | |
---|---|
NanoWatch()
|
Method Summary | |
---|---|
double |
getAvgTimeMillis()
|
double |
getLastTimeMillis()
|
double |
getTimeMillis()
Gets the time for this nano stop watch in milliseconds. |
void |
start()
Starts the timer. |
void |
stop()
Stops the timer. |
Methods inherited from class com.sun.labs.minion.util.StopWatch |
---|
accumulate, getAvgTime, getClicks, getLastTime, getTime, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NanoWatch()
Method Detail |
---|
public void start()
start
in class StopWatch
public void stop()
stop
in class StopWatch
public double getTimeMillis()
public double getLastTimeMillis()
public double getAvgTimeMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |