setUpdateFPSFrames(int, PrintStream) to enable and disable the FPSCounter feature.
| Modifier and Type | Field and Description |
|---|---|
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public long | getFPSStartTime()
Returns the time of the first display call in milliseconds after enabling this feature via |
| public float | |
| public long | |
| public long | getLastFPSUpdateTime()
Returns the time of the last update interval in milliseconds, if this feature is enabled via |
| public float | |
| public long | |
| public int | |
| public int | |
| public void | |
| public void | setUpdateFPSFrames(int
Update interval in frames. frames, 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)
|
| DEFAULT_FRAMES_PER_INTERVAL | back to summary |
|---|---|
| public static final int DEFAULT_FRAMES_PER_INTERVAL | |
| getFPSStartTime | back to summary |
|---|---|
| public long getFPSStartTime() Returns the time of the first display call in milliseconds after enabling this feature via | |
| getLastFPS | back to summary |
|---|---|
public float getLastFPS()
| |
| getLastFPSPeriod | back to summary |
|---|---|
public long getLastFPSPeriod()
| |
| getLastFPSUpdateTime | back to summary |
|---|---|
| public long getLastFPSUpdateTime() Returns the time of the last update interval in milliseconds, if this feature is enabled via | |
| getTotalFPS | back to summary |
|---|---|
public float getTotalFPS()
| |
| getTotalFPSDuration | back to summary |
|---|---|
public long getTotalFPSDuration()
| |
| getTotalFPSFrames | back to summary |
|---|---|
public int getTotalFPSFrames()
| |
| getUpdateFPSFrames | back to summary |
|---|---|
public int getUpdateFPSFrames()
| |
| resetFPSCounter | back to summary |
|---|---|
| public void resetFPSCounter() Reset all performance counter (startTime, currentTime, frame number) | |
| setUpdateFPSFrames | back to summary |
|---|---|
public void setUpdateFPSFrames(int frames, PrintStream out)
| |