| Access | Constructor and Description |
|---|---|
| public | ContinuousStopwatch(Stopwatch
the internal stopwatch used by ContinuousStopwatch stopwatch)Constructs a ContinuousStopwatch, which will start timing immediately after construction. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public void |
| logger | back to summary |
|---|---|
| private final Logger logger | |
| stopwatch | back to summary |
|---|---|
| private final Stopwatch stopwatch | |
| ContinuousStopwatch | back to summary |
|---|---|
| public ContinuousStopwatch(Stopwatch stopwatch) Constructs a ContinuousStopwatch, which will start timing immediately after construction.
| |
| reset | back to summary |
|---|---|
| public long reset() Resets and returns elapsed time in milliseconds. | |
| resetAndLog | back to summary |
|---|---|
| public void resetAndLog(String label) Resets and logs elapsed time in milliseconds. | |