|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.Timer
public class Timer
For logging the time taken for any process to run. NB: The starting time is when the Timer object itself is constructed.
| Constructor Summary | |
|---|---|
Timer(java.lang.String anOpName,
java.awt.image.BufferedImage aBim)
Create a Timer, recording the start time. |
|
| Method Summary | |
|---|---|
void |
stop()
Stop the timer and log the operation name, image size and duration (since the Timer was constructed). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Timer(java.lang.String anOpName,
java.awt.image.BufferedImage aBim)
| Method Detail |
|---|
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||