net.grelf
Class Timer_

java.lang.Object
  extended by net.grelf.Timer_
All Implemented Interfaces:
Timer

public class Timer_
extends java.lang.Object
implements 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

Timer_

public Timer_(java.lang.String anOpName,
              java.awt.image.BufferedImage aBim)
Create a Timer, recording the start time. aBim may be null.

Method Detail

stop

public void stop()
Stop the timer and log the operation name, image size and duration (since the Timer was constructed).

Specified by:
stop in interface Timer