coins.backend
Class IntervalTimer

java.lang.Object
  extended bycoins.backend.IntervalTimer

public class IntervalTimer
extends java.lang.Object


Constructor Summary
IntervalTimer()
           
 
Method Summary
 long checkPoint()
          Return current lap.
 void gcReport(java.io.PrintWriter out)
          Force GC and report freed memory size.
 long getIntervalTime()
          Return interval time since last call.
 long getIntervalTime(long prev)
          Return interval time since specified point.
 long getLaptime()
          Return current lap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalTimer

public IntervalTimer()
Method Detail

getIntervalTime

public long getIntervalTime()
Return interval time since last call. (in milliseconds)


getIntervalTime

public long getIntervalTime(long prev)
Return interval time since specified point. (in milliseconds)


checkPoint

public long checkPoint()
Return current lap.


getLaptime

public long getLaptime()
Return current lap.


gcReport

public void gcReport(java.io.PrintWriter out)
Force GC and report freed memory size.