| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private long | |
| private long | |
| private PrintStream | |
| private long | |
| private float | |
| private long | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final synchronized long | getFPSStartTime()
Implements com. setUpdateFPSFrames(int, PrintStream).
|
| public final synchronized float | |
| public final synchronized long | |
| public final synchronized long | getLastFPSUpdateTime()
Implements com. setUpdateFPSFrames(int, PrintStream).
|
| public final synchronized float | |
| public final synchronized long | |
| public final synchronized int | |
| public final synchronized int | |
| public final synchronized void | resetFPSCounter()
Implements com. |
| public final synchronized void | setUpdateFPSFrames(final int
Update interval in frames. frames, final PrintStream At every rendered frames interval the currentTime and fps values are updated. If the frames interval is <= 0, no update will be issued, ie the FPSCounter feature is turned off. You may choose DEFAULT_FRAMES_PER_INTERVAL.optional print stream where the fps values gets printed if not null at every frames interval out)Implements com. |
| public final synchronized void | tickFPS()
Increases total frame count and updates values if feature is enabled and update interval is reached. |
| public StringBuilder | |
| public String |
| fpsLast | back to summary |
|---|---|
| private float fpsLast | |
| fpsLastPeriod | back to summary |
|---|---|
| private long fpsLastPeriod | |
| fpsLastUpdateTime | back to summary |
|---|---|
| private long fpsLastUpdateTime | |
| fpsOutputStream | back to summary |
|---|---|
| private PrintStream fpsOutputStream | |
| fpsStartTime | back to summary |
|---|---|
| private long fpsStartTime | |
| fpsTotal | back to summary |
|---|---|
| private float fpsTotal | |
| fpsTotalDuration | back to summary |
|---|---|
| private long fpsTotalDuration | |
| fpsTotalFrames | back to summary |
|---|---|
| private int fpsTotalFrames | |
| fpsUpdateFramesInterval | back to summary |
|---|---|
| private int fpsUpdateFramesInterval | |
| FPSCounterImpl | back to summary |
|---|---|
| public FPSCounterImpl() Creates a disabled instance | |
| getFPSStartTime | back to summary |
|---|---|
| public final synchronized long getFPSStartTime() Implements com. Doc from com. Returns the time of the first display call in milliseconds after enabling this feature via
| |
| getLastFPS | back to summary |
|---|---|
| public final synchronized float getLastFPS() Implements com.
| |
| getLastFPSPeriod | back to summary |
|---|---|
| public final synchronized long getLastFPSPeriod() Implements com.
| |
| getLastFPSUpdateTime | back to summary |
|---|---|
| public final synchronized long getLastFPSUpdateTime() Implements com. Doc from com. Returns the time of the last update interval in milliseconds, if this feature is enabled via
| |
| getTotalFPS | back to summary |
|---|---|
| public final synchronized float getTotalFPS() Implements com.
| |
| getTotalFPSDuration | back to summary |
|---|---|
| public final synchronized long getTotalFPSDuration() Implements com.
| |
| getTotalFPSFrames | back to summary |
|---|---|
| public final synchronized int getTotalFPSFrames() Implements com.
| |
| getUpdateFPSFrames | back to summary |
|---|---|
| public final synchronized int getUpdateFPSFrames() Implements com.
| |
| resetFPSCounter | back to summary |
|---|---|
| public final synchronized void resetFPSCounter() Implements com. Doc from com. Reset all performance counter (startTime, currentTime, frame number)
| |
| setUpdateFPSFrames | back to summary |
|---|---|
| public final synchronized void setUpdateFPSFrames(final int frames, final PrintStream out) Implements com.
| |
| tickFPS | back to summary |
|---|---|
| public final synchronized void tickFPS() Increases total frame count and updates values if feature is enabled and
update interval is reached. | |
| toString | back to summary |
|---|---|
| public StringBuilder toString(StringBuilder sb) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |