All Packages Class Hierarchy This Package Previous Next Index
Class pinball.TimeStamp
java.lang.Object
|
+----pinball.TimeStamp
- public class TimeStamp
- extends Object
- implements Serializable
The time stamp for the various stages of the game.
-
analyzeTime
- Time spent in the analyze thread.
-
avganalyzeTime
- Average time spent in analyze thread.
-
avgdisplayTime
- Average time spent in display thread.
-
avggrabTime
- Average time spent in grab thread.
-
displayTime
- Time spent in the display thread.
-
elapsed
- Time elapsed in the system.
-
elapsedanalyzeTime
- Elapsed time spent analyzing.
-
elapseddisplayTime
- Elapsed time spent grabing.
-
elapsedgrabTime
- Elapsed time spent grabing.
-
endanalyzeTime
- End time for pass through of analyzing of frames.
-
enddisplayTime
- End time for pass through of displaying of frames.
-
endgrabTime
- End time for pass through of grabing of frames.
-
endTime
- Time at end of program.
-
firstGrabTime
- Time of first grab.
-
frameRate
- Frame rate of images into system.
-
grabTime
- Time spent in the grab thread.
-
lastTime
- Begining of time through the threads.
-
serialVersionUID
- Used to keep the same serialized version.
-
startanalyzeTime
- Time started analyzing frames.
-
startdisplayTime
- Time started displaying frames.
-
startgrabTime
- Time started grabing frames.
-
startTime
- Time at start of program.
-
ThisFPS
- The frame rate for this frame.
-
totalanalyzes
- Total number of times through analyze thread.
-
totaldisplays
- Total number of times through display thread.
-
totalgrabs
- Total number of times through grab thread.
-
TimeStamp()
-
Create a new timeStamp.
-
reset()
-
Reset the time stamp.
-
setEndAnalyzeTime()
-
Finished the analyze.
-
setEndDisplayTime()
-
Finished the display.
-
setEndGrabTime()
-
Ended a grab.
-
setEndTime()
-
Set the time at the end of the program.
-
setFirstGrab()
-
Set the time a frame is grabed.
-
setStartAnalyzeTime()
-
Started to analyzed.
-
setStartDisplayTime()
-
Started to display.
-
setStartGrabTime()
-
Start grab.
-
startTime()
-
Set the start time for the program.
-
toString()
-
The statistics for the buffers.
serialVersionUID
static final long serialVersionUID
- Used to keep the same serialized version.
startTime
private long startTime
- Time at start of program.
endTime
private long endTime
- Time at end of program.
startgrabTime
private long startgrabTime
- Time started grabing frames.
startanalyzeTime
private long startanalyzeTime
- Time started analyzing frames.
startdisplayTime
private long startdisplayTime
- Time started displaying frames.
endgrabTime
private long endgrabTime
- End time for pass through of grabing of frames.
endanalyzeTime
private long endanalyzeTime
- End time for pass through of analyzing of frames.
enddisplayTime
private long enddisplayTime
- End time for pass through of displaying of frames.
elapsedgrabTime
private static long elapsedgrabTime
- Elapsed time spent grabing.
elapsedanalyzeTime
private static long elapsedanalyzeTime
- Elapsed time spent analyzing.
elapseddisplayTime
private static long elapseddisplayTime
- Elapsed time spent grabing.
avggrabTime
private long avggrabTime
- Average time spent in grab thread.
avganalyzeTime
private long avganalyzeTime
- Average time spent in analyze thread.
avgdisplayTime
private long avgdisplayTime
- Average time spent in display thread.
totalgrabs
private static int totalgrabs
- Total number of times through grab thread.
totalanalyzes
private static int totalanalyzes
- Total number of times through analyze thread.
totaldisplays
private static int totaldisplays
- Total number of times through display thread.
grabTime
private long grabTime
- Time spent in the grab thread.
analyzeTime
private long analyzeTime
- Time spent in the analyze thread.
displayTime
private long displayTime
- Time spent in the display thread.
lastTime
private long lastTime
- Begining of time through the threads.
frameRate
private float frameRate
- Frame rate of images into system.
firstGrabTime
private static long firstGrabTime
- Time of first grab.
elapsed
private float elapsed
- Time elapsed in the system.
ThisFPS
private float ThisFPS
- The frame rate for this frame.
TimeStamp
public TimeStamp()
- Create a new timeStamp.
reset
public void reset()
- Reset the time stamp. Used when checking flippers. Since the flippers pause,
they effect the time results. So reset the time after each flipper test.
startTime
public void startTime()
- Set the start time for the program.
setEndTime
public void setEndTime()
- Set the time at the end of the program.
setFirstGrab
public void setFirstGrab()
- Set the time a frame is grabed.
setStartGrabTime
public void setStartGrabTime()
- Start grab.
setEndGrabTime
public void setEndGrabTime()
- Ended a grab.
setStartAnalyzeTime
public void setStartAnalyzeTime()
- Started to analyzed.
setEndAnalyzeTime
public void setEndAnalyzeTime()
- Finished the analyze.
setStartDisplayTime
public void setStartDisplayTime()
- Started to display.
setEndDisplayTime
public void setEndDisplayTime()
- Finished the display.
toString
public String toString()
- The statistics for the buffers.
- Returns:
- The statistics string.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index