public final class Stopwatch extends Object
Constructor | Description |
---|---|
Stopwatch() |
Modifier and Type | Method | Description |
---|---|---|
long |
reset() |
Resets and returns elapsed time in milliseconds.
|
void |
resetAndLog(String label) |
Resets and logs elapsed time in milliseconds.
|
public long reset()
public void resetAndLog(String label)
Copyright © 2006–2018 Google, Inc.. All rights reserved.