cz.cuni.amis.utils
Class StopWatch

Package class diagram package StopWatch
java.lang.Object
  extended by cz.cuni.amis.utils.StopWatch

public class StopWatch
extends Object


Constructor Summary
StopWatch()
           
 
Method Summary
 double check()
          In millis
 String checkStr()
           
 void start()
          Watches are start()ed during construction, this will just refresh the start time.
 double stop()
          In millis
 String stopStr()
           
 double time()
          In millis...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch()
Method Detail

start

public void start()
Watches are start()ed during construction, this will just refresh the start time.


stop

public double stop()
In millis

Returns:

check

public double check()
In millis

Returns:

time

public double time()
In millis... returns last stop()/check() time. (Use stopStr() and then obtain time with time().)

Returns:

stopStr

public String stopStr()

checkStr

public String checkStr()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.