|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object moagg.util.StopWatch
public class StopWatch
Own StopWatch implementation for profiling/debugging purposes, because the StopWatch from commons-lang is a bit strange to use...
Constructor Summary | |
---|---|
StopWatch(java.lang.String name)
|
Method Summary | |
---|---|
long |
getTime()
|
void |
reset()
|
void |
start()
|
void |
stop()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StopWatch(java.lang.String name)
Method Detail |
---|
public void start()
public void stop()
public long getTime()
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |