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.


Variable Index

 o analyzeTime
Time spent in the analyze thread.
 o avganalyzeTime
Average time spent in analyze thread.
 o avgdisplayTime
Average time spent in display thread.
 o avggrabTime
Average time spent in grab thread.
 o displayTime
Time spent in the display thread.
 o elapsed
Time elapsed in the system.
 o elapsedanalyzeTime
Elapsed time spent analyzing.
 o elapseddisplayTime
Elapsed time spent grabing.
 o elapsedgrabTime
Elapsed time spent grabing.
 o endanalyzeTime
End time for pass through of analyzing of frames.
 o enddisplayTime
End time for pass through of displaying of frames.
 o endgrabTime
End time for pass through of grabing of frames.
 o endTime
Time at end of program.
 o firstGrabTime
Time of first grab.
 o frameRate
Frame rate of images into system.
 o grabTime
Time spent in the grab thread.
 o lastTime
Begining of time through the threads.
 o serialVersionUID
Used to keep the same serialized version.
 o startanalyzeTime
Time started analyzing frames.
 o startdisplayTime
Time started displaying frames.
 o startgrabTime
Time started grabing frames.
 o startTime
Time at start of program.
 o ThisFPS
The frame rate for this frame.
 o totalanalyzes
Total number of times through analyze thread.
 o totaldisplays
Total number of times through display thread.
 o totalgrabs
Total number of times through grab thread.

Constructor Index

 o TimeStamp()
Create a new timeStamp.

Method Index

 o reset()
Reset the time stamp.
 o setEndAnalyzeTime()
Finished the analyze.
 o setEndDisplayTime()
Finished the display.
 o setEndGrabTime()
Ended a grab.
 o setEndTime()
Set the time at the end of the program.
 o setFirstGrab()
Set the time a frame is grabed.
 o setStartAnalyzeTime()
Started to analyzed.
 o setStartDisplayTime()
Started to display.
 o setStartGrabTime()
Start grab.
 o startTime()
Set the start time for the program.
 o toString()
The statistics for the buffers.

Variables

 o serialVersionUID
 static final long serialVersionUID
Used to keep the same serialized version.

 o startTime
 private long startTime
Time at start of program.

 o endTime
 private long endTime
Time at end of program.

 o startgrabTime
 private long startgrabTime
Time started grabing frames.

 o startanalyzeTime
 private long startanalyzeTime
Time started analyzing frames.

 o startdisplayTime
 private long startdisplayTime
Time started displaying frames.

 o endgrabTime
 private long endgrabTime
End time for pass through of grabing of frames.

 o endanalyzeTime
 private long endanalyzeTime
End time for pass through of analyzing of frames.

 o enddisplayTime
 private long enddisplayTime
End time for pass through of displaying of frames.

 o elapsedgrabTime
 private static long elapsedgrabTime
Elapsed time spent grabing.

 o elapsedanalyzeTime
 private static long elapsedanalyzeTime
Elapsed time spent analyzing.

 o elapseddisplayTime
 private static long elapseddisplayTime
Elapsed time spent grabing.

 o avggrabTime
 private long avggrabTime
Average time spent in grab thread.

 o avganalyzeTime
 private long avganalyzeTime
Average time spent in analyze thread.

 o avgdisplayTime
 private long avgdisplayTime
Average time spent in display thread.

 o totalgrabs
 private static int totalgrabs
Total number of times through grab thread.

 o totalanalyzes
 private static int totalanalyzes
Total number of times through analyze thread.

 o totaldisplays
 private static int totaldisplays
Total number of times through display thread.

 o grabTime
 private long grabTime
Time spent in the grab thread.

 o analyzeTime
 private long analyzeTime
Time spent in the analyze thread.

 o displayTime
 private long displayTime
Time spent in the display thread.

 o lastTime
 private long lastTime
Begining of time through the threads.

 o frameRate
 private float frameRate
Frame rate of images into system.

 o firstGrabTime
 private static long firstGrabTime
Time of first grab.

 o elapsed
 private float elapsed
Time elapsed in the system.

 o ThisFPS
 private float ThisFPS
The frame rate for this frame.

Constructors

 o TimeStamp
 public TimeStamp()
Create a new timeStamp.

Methods

 o 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.

 o startTime
 public void startTime()
Set the start time for the program.

 o setEndTime
 public void setEndTime()
Set the time at the end of the program.

 o setFirstGrab
 public void setFirstGrab()
Set the time a frame is grabed.

 o setStartGrabTime
 public void setStartGrabTime()
Start grab.

 o setEndGrabTime
 public void setEndGrabTime()
Ended a grab.

 o setStartAnalyzeTime
 public void setStartAnalyzeTime()
Started to analyzed.

 o setEndAnalyzeTime
 public void setEndAnalyzeTime()
Finished the analyze.

 o setStartDisplayTime
 public void setStartDisplayTime()
Started to display.

 o setEndDisplayTime
 public void setEndDisplayTime()
Finished the display.

 o 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