net.praqma.util
Class StopWatch

java.lang.Object
  extended by net.praqma.util.StopWatch

public class StopWatch
extends Object


Method Summary
static StopWatch get(String name)
           
 double getSeconds()
           
 long getTime()
           
 void reset()
           
 void start()
           
 void stop()
           
static double toSeconds(long time, int precision)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static StopWatch get(String name)

start

public void start()

stop

public void stop()

getTime

public long getTime()

reset

public void reset()

getSeconds

public double getSeconds()

toSeconds

public static double toSeconds(long time,
                               int precision)


Copyright © 2011. All Rights Reserved.