|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.util.Timer
public class Timer
A timer to keep track of elapsed time for an application.
| Constructor Summary | |
|---|---|
Timer()
|
|
| Method Summary | |
|---|---|
long |
elapsedMilliseconds()
Return elapsed time in milliseconds. |
long |
elapsedSeconds()
Return elapsed time in seconds. |
String |
elapsedTimeString()
Return the current elapsed time as a String in milliseconds or seconds (if greater than 1 second). |
void |
reset()
Resets the process timer. |
void |
start()
Start the process timer. |
long |
stop()
Stop the process timer, setting elapsedTime. |
String |
totalTimeString()
Return total time as a String in milliseconds or seconds (if greater than 1 second). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Timer()
| Method Detail |
|---|
public void start()
public void reset()
public long stop()
public long elapsedMilliseconds()
public long elapsedSeconds()
public String elapsedTimeString()
public String totalTimeString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||