Public Member Functions | Private Attributes
edu.tum.cs.ias.knowrob.util.Stopwatch Class Reference

List of all members.

Public Member Functions

long getElapsedTime ()
double getElapsedTimeSecs ()
void start ()
void stop ()

Private Attributes

long elapsed = 0
boolean running = false
long startTime = 0
long stopTime = 0

Detailed Description

Stop watch millisecond accuracy. For measuring different time spans.

Author:
Stefan Profanter

Definition at line 9 of file Stopwatch.java.


Member Function Documentation

gets elapsed time in msecs

Returns:
elapsed time in milliseconds

Definition at line 49 of file Stopwatch.java.

gets elapsed time in seconds

Returns:
elapsed time in seconds

Definition at line 60 of file Stopwatch.java.

Start stopwatch

Definition at line 31 of file Stopwatch.java.

Stop stopwatch

Definition at line 39 of file Stopwatch.java.


Member Data Documentation

Stopwatch elapsed time

Definition at line 22 of file Stopwatch.java.

Is stopwatch currently running?

Definition at line 26 of file Stopwatch.java.

Stopwatch start time

Definition at line 14 of file Stopwatch.java.

Stopwatch stop time

Definition at line 18 of file Stopwatch.java.


The documentation for this class was generated from the following file:


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Mon Oct 6 2014 01:30:00