| Package | Description |
|---|---|
| com.threerings.media | |
| com.threerings.media.timer | |
| com.threerings.media.util |
| Modifier and Type | Method and Description |
|---|---|
static MediaTimer |
FrameManager.createTimer()
Attempts to create a high resolution timer, but if that isn't possible, uses a
System.currentTimeMillis based timer.
|
| Modifier and Type | Method and Description |
|---|---|
static FrameManager |
FrameManager.newInstance(FrameManager.ManagedRoot root,
MediaTimer timer)
Constructs a frame manager that will do its rendering to the supplied root and use the
supplied media timer for timing information.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalibratingTimer
Calibrates timing values from a subclass' implementation of current against those returned by
System.currentTimeMillis.
|
class |
MillisTimer
Implements the
MediaTimer interface using System.currentTimeMillis() to obtain
timing information. |
class |
NanoTimer
Uses the
System.nanoTime() method introduced in 1.5 to try to obtain higher resolution
timestamps than those available via System.currentTimeMillis(). |
class |
PerfTimer
Deprecated.
Use
NanoTimer instead. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PerformanceMonitor.setMediaTimer(MediaTimer timer)
Used to configure the performance monitor with a particular
MediaTimer implementation. |
Copyright © 2015. All rights reserved.