mk.fsgrep.util
Class Timer

java.lang.Object
  extended by mk.fsgrep.util.Timer

public class Timer
extends java.lang.Object

Take performance measurements.

Author:
Murali Krishnan

Constructor Summary
Timer()
           
 
Method Summary
 double findAverage(int count)
           
 long getEnd()
           
 long getStart()
           
 long getTotal()
           
 void setEnd(long val)
           
 void setStart(long val)
           
 void setTotal(long val)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

getStart

public long getStart()

getEnd

public long getEnd()

getTotal

public long getTotal()

setStart

public void setStart(long val)

setEnd

public void setEnd(long val)

setTotal

public void setTotal(long val)

stop

public void stop()

findAverage

public double findAverage(int count)


Copyright © 2009. All Rights Reserved.