org.placidus.performance
Class NanoStopWatch

java.lang.Object
  extended by org.placidus.performance.StopWatch
      extended by org.placidus.performance.NanoStopWatch

public class NanoStopWatch
extends StopWatch

StopWatch functionallity with nanoseconds

Author:
ds

Constructor Summary
NanoStopWatch()
           
 
Method Summary
protected  long getCurrentTime()
          Returns new timestamp
 java.lang.String toString()
          to get current time (interim), no reset will be performed.
 
Methods inherited from class org.placidus.performance.StopWatch
getTime, printTime, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NanoStopWatch

public NanoStopWatch()
Method Detail

getCurrentTime

protected long getCurrentTime()
Returns new timestamp

Overrides:
getCurrentTime in class StopWatch
Returns:
new timestamp, current time

toString

public java.lang.String toString()
to get current time (interim), no reset will be performed.

Overrides:
toString in class StopWatch


Copyright © 2006 DS. All Rights Reserved.