net.grelf
Class Timer

java.lang.Object
  extended by net.grelf.Timer

public class Timer
extends java.lang.Object

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).