public interface MediaTimer
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedMicros()
Returns the number of microseconds that have elapsed since the
timer was created or last
reset(). |
long |
getElapsedMillis()
Returns the number of milliseconds that have elapsed since the
timer was created or last
reset(). |
void |
reset()
Resets the timer's monotonically increasing value.
|
void reset()
long getElapsedMillis()
reset(). Note: the
accuracy of this method is highly dependent on the timer
implementation used.long getElapsedMicros()
reset(). Note: the
accuracy of this method is highly dependent on the timer
implementation used.Copyright © 2015. All rights reserved.