public class FPSLogger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.io.PrintStream |
out
Output channel.
|
protected long |
T1
Start time for a frame.
|
protected long |
T2
End Time for a frame.
|
Constructor and Description |
---|
FPSLogger(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
beginFrame()
Start a new frame measurement.
|
void |
close()
Ensure the log file is flushed and closed.
|
void |
endFrame() |
protected long T1
protected long T2
protected java.io.PrintStream out