CC3PerformanceStatisticsHistogram Class Reference
Inherits from | CC3PerformanceStatistics : NSObject |
Declared in | CC3PerformanceStatistics.h |
Overview
Collects statistics about the updating and drawing performance of the 3D scene, including a histogram for each of the raw updateRate and frameRate properties.
These histograms provide more detail than the updateRate and frameRate properties, which are, respectively, averages of the individual updateRates and frameRates, since the previous reset.
To allow flexibility in calculating statistics, this class does not automatically clear the accumulated statistics, including the histograms. It is the responsibility of the application to read the values, and invoke the reset method on the instance periodically, to ensure this instance does not overflow. Depending on the complexity and capabilities of your application, you should reset the performance statistics at least every few seconds.
Properties
frameRateHistogram
Returns a histogram of the value of the frame rate, as calculated on each frame drawing pass. This provides more detail than the frameRate property, which is an average of the individual frameRates, since the previous reset.
@property (nonatomic, readonly) GLint *frameRateHistogram
Discussion
This histogram is cleared when the reset method is invoked.
Declared In
CC3PerformanceStatistics.h
updateRateHistogram
Returns a histogram of the value of the update rate, as calculated on each update pass. This provides more detail than the updateRate property, which is an average of the individual updateRates, since the previous reset.
@property (nonatomic, readonly) GLint *updateRateHistogram
Discussion
This histogram is cleared when the reset method is invoked.
Declared In
CC3PerformanceStatistics.h