Summary
Measures frame rate statistics (or, more generally, statistics of any event occurring multiple times in real time).
Constructors
Instance methods
double? | | Counts another frame and updates all statistics. Returns the time since the last frame,
or null if this is the first counted frame. |
void | | Resets all statistics. |
Instance properties
double | | Gets the average number of frames per second, over the last second. |
double | | Gets the average length of one frame over the past second, in seconds. |
double | | Gets the length of the last frame, in seconds. |
double | | Gets the maximum length of one frame over the past second, in seconds. |
double | | Gets the minimum length of one frame over the past second, in seconds. |