|
|||||||||
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(java.lang.String name)
|
|
ChronoWithMemory(java.lang.String name,
Logger logger)
|
|
ChronoWithMemory(java.lang.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(java.lang.String name)
public ChronoWithMemory(java.lang.String name, Logger logger)
public ChronoWithMemory(java.lang.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 Chrono
public void start()
Chrono
Chrono.stop
.
start
in class Chrono
public void stop()
Chrono
stop
in class Chrono
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |