|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.util.Stopwatch
public class Stopwatch
Used for rudimentary timing of algorithms.
Constructor Summary | |
---|---|
Stopwatch()
Creates a new instance of Stopwatch |
Method Summary | |
---|---|
long |
getTimeElapsed()
|
boolean |
isTiming()
|
void |
startTiming()
|
long |
stopTiming()
Returns time elapsed since startTiming() was called. |
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 void startTiming()
public long getTimeElapsed()
public long stopTiming()
public boolean isTiming()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |