public final class StopWatch extends Object
Constructor and Description |
---|
StopWatch() |
Modifier and Type | Method and Description |
---|---|
void |
end() |
long |
getDuration(TimeUnit timeUnit) |
long |
getDurationInMs() |
long |
getDurationInNs() |
void |
start() |
public void start()
public void end()
public long getDurationInNs()
public long getDurationInMs()
public long getDuration(TimeUnit timeUnit)
Copyright © 2015–2020. All rights reserved.