Class BenchTimer

java.lang.Object
  extended byBenchTimer

public class BenchTimer
extends java.lang.Object

Jednoducha trida na mereni uplynuteho casu


Constructor Summary
BenchTimer()
           
 
Method Summary
 void start()
          zacne merit cas
 long stop()
          zastavi mereni casu, vrati cas v milisekundach od posledniho zavolani start()
 void stopPrint()
          zastavi mereni casu, vytiskne na STDOUT cas v milisekundach od posledniho zavolani start()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchTimer

public BenchTimer()
Method Detail

start

public void start()
zacne merit cas


stop

public long stop()
zastavi mereni casu, vrati cas v milisekundach od posledniho zavolani start()


stopPrint

public void stopPrint()
zastavi mereni casu, vytiskne na STDOUT cas v milisekundach od posledniho zavolani start()