org.infoglue.cms.util
Class Timer

java.lang.Object
  extended byorg.infoglue.cms.util.Timer

public class Timer
extends java.lang.Object

Author:
Mattias Bogeblad This class is a timer utility to debug performance issues. It allows to start/stop the timer and to report in between what the time is.

Constructor Summary
Timer()
           
 
Method Summary
 long getElapsedTime()
           
 void printElapsedTime(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

getElapsedTime

public long getElapsedTime()

printElapsedTime

public void printElapsedTime(java.lang.String message)