|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MediaTimer
Provides a pluggable mechanism for delivering high resolution timing information. The timers are not intended to be used by different threads and thus must be protected by synchronization in such circumstances.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||