|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xerial.util.StopWatch
public class StopWatch
StopWatch measures interval times.
| Constructor Summary | |
|---|---|
StopWatch()
|
|
| Method Summary | |
|---|---|
double |
getElapsedTime()
Gets the elapsed time since this instance is created in seconds. |
double |
getIntervalTime()
Gets the interval time since the last call of StopWatch#getEleapsedTime() or
getIntervalTime() |
void |
reset()
Reset the stop watch. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopWatch()
| Method Detail |
|---|
public double getElapsedTime()
public double getIntervalTime()
StopWatch#getEleapsedTime() or
getIntervalTime()
public void reset()
StopWatch#getEleapsedTime() or
getIntervalTime() will measure the time intervals
beginning from this method call.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
