| Constructor and Description |
|---|
SystemTimer() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentNanoTime()
Returns the current nano time.
|
long |
getCurrentTimeMicroseconds()
Returns current time in microseconds (microseconds since epoch).
|
public long getCurrentTimeMicroseconds()
getCurrentTimeMicroseconds in interface Timerpublic long getCurrentNanoTime()
System.nanoTime().getCurrentNanoTime in interface Timer