|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.utils.oChrono
Manages timers for performances and statistics purpose.
Example of use:
oChrono chrono = new oChrono();
// MAKE SOMETHING...
System.out.println( "Elapsed time: " + chrono.stop() + " ms" );
| Constructor Summary | |
oChrono()
Create and start a new chrono object. |
|
| Method Summary | |
long |
elapsed()
Get current elapsed time without stop the object. |
void |
start()
Restart chrono. |
long |
stop()
Stop the chrono and return current elapsed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public oChrono()
| Method Detail |
public void start()
public long elapsed()
public long stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||