You will be redirected to our new website in 5 seconds...
If you are not automatically taken to our new web site,
please click on the hyperlink :
http://jodd.org
Jodd
build: 309
updated: Jun 17 2008
 

SourceForge.net Logo

freebsd  Support this project

home Home | download | home Contact | SourceForge | File Releases releases | News news |  
JStopWatch

JStopWatch is a nice timer class for measuring elapsed times. It supports starting, stopping and resuming. However, it can be used for more complicated time measuring, since it supports laps.

  1. JStopWatch stopWatch = new JStopWatch();  
  2. stopWatch.start();  
  3. ...  
  4. stopWatch.lap();  
  5. ...  
  6. stopWatch.stop();  
  7. System.out.println(stopWatch);