| Constructor and Description |
|---|
NanoTiming() |
| Modifier and Type | Method and Description |
|---|---|
long |
getPassedTime() |
void |
reset()
Reset the time.
|
void |
waitUntil(long time)
Wait until a certain amount of time has passed.
|
public void reset()
Timingpublic long getPassedTime()
getPassedTime in class Timingpublic void waitUntil(long time)
throws java.lang.InterruptedException
Timing