public final class Stopwatch extends Object
Constructor and Description |
---|
Stopwatch() |
Modifier and Type | Method and 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-2016 Google, Inc.. All Rights Reserved.