Class Stopwatch
java.lang.Object
com.inductiveautomation.ignition.common.util.Stopwatch
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongelapsed()Returns the amount of time since the last call to start() (or this Stopwatch's creation) in milliseconds.longReturns the amount of time since the last call to start() (or this Stopwatch's creation) in the units specified.voidstart()Starts the stopwatch.
- 
Constructor Details- 
Stopwatchpublic Stopwatch()Creates a new Stopwatch, calls start() automatically.
 
- 
- 
Method Details- 
startpublic void start()Starts the stopwatch. Subsequent calls to elapsed() will return the time since this call.
- 
elapsedpublic long elapsed()Returns the amount of time since the last call to start() (or this Stopwatch's creation) in milliseconds.
- 
elapsedReturns the amount of time since the last call to start() (or this Stopwatch's creation) in the units specified.
 
-