|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPerformanceTimer
Performance timer interface for lightweight timer functionality for debug purposes
| Method Summary | |
|---|---|
void |
elapsed()
Calculates and then uses the elapsed time details, average is computed for cases where the nested count is greater than zero |
void |
elapsed(int size)
Calculates and then uses the elapsed time details, average is computed for cases where the nested count is greater than zero |
void |
reset()
Resets the performance timer attributes of a given performance timer instance |
void |
start()
Starts a performance timer task with no task name given, a nested FILO scheme is used, the when the stop method is called the most recently started timer task is stopped |
void |
start(java.lang.String name)
Starts a performance timer task with a the given task name used, uses a FILO approach, first timer task started in the last stop in order |
void |
stop()
Stops the performance timer task, FILO approach, first timer task started is the last stopped, the performance timer keeps the memory |
| Method Detail |
|---|
void elapsed()
void elapsed(int size)
size - the size of the work completed within the elapsed time, the
elapsed time will be divided by this number, for an indication
of time per work unitvoid reset()
void start()
void start(java.lang.String name)
name - the named timer task to startvoid stop()
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||