public class Stopwatch extends Object
| Constructor and Description |
|---|
Stopwatch() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime()
Returns elapsed time in milliseconds between calls to start and stop methods
If the watch has never been started, returns zero
|
void |
reset()
Resets the stopwatch (clears start and stop time)
|
void |
start()
Starts measuring time
|
void |
stop()
Stops measuring time
|
public void start()
public void stop()
public long getElapsedTime()
public void reset()
Copyright © 2019 Neuroph Project. All rights reserved.