|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jamonapi.BasicTimingMonitor
The most basic of timing Monitors. It is very close in performance to making straight calls to System.currentTimeMillis(). This class is used primarily for comparison to the best case performance numbers for all of the other Monitors, however it may also be used to make timing measurements. BasicTimingMonitors are not thread safe. Monitors returned via MonitorFactory are. Sample call: BasicTimingMonitor mon=new BasicTimingMonitor(); mon.start(); ...code being monitored... mon.stop();
Constructor Summary | |
BasicTimingMonitor()
|
Method Summary | |
void |
start()
|
long |
stop()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicTimingMonitor()
Method Detail |
public void start()
public long stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |