|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectariba.util.core.Chrono
ariba.util.core.ChronoWithMemory
public class ChronoWithMemory
Chrono subclass which displayed more information when being printed.
| Constructor Summary | |
|---|---|
ChronoWithMemory(String name)
|
|
ChronoWithMemory(String name,
Logger logger)
|
|
ChronoWithMemory(String name,
Logger logger,
int startInfoId,
int stopInfoId)
Creates a new instance of a Chrono timer. |
|
| Method Summary | |
|---|---|
void |
reset()
Resets the counters to start timing from scratch. |
void |
start()
Starts a trial. |
void |
stop()
Stops timing the current trial. |
| Methods inherited from class ariba.util.core.Chrono |
|---|
disable, enable, getAverageSeconds, getTotalSeconds, getTrialCount, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChronoWithMemory(String name)
public ChronoWithMemory(String name,
Logger logger)
public ChronoWithMemory(String name,
Logger logger,
int startInfoId,
int stopInfoId)
Chrono timer.
name - the name of the event. Used to print out the timing summary.logger - the Logger to use to print debug statementsstartInfoId - id of a resource for logging an INFO start message to logger.stopInfoId - id of a resource for logging an INFO stop message to logger.| Method Detail |
|---|
public void reset()
Chrono
reset in class Chronopublic void start()
ChronoChrono.stop.
start in class Chronopublic void stop()
Chrono
stop in class Chrono
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||