Properties

CC3PerformanceStatisticsHistogram Class Reference

Collects statistics about the updating and drawing performance of the 3D world, including a histogram for each of the raw updateRate and frameRate properties. More...

#import <CC3PerformanceStatistics.h>

Inheritance diagram for CC3PerformanceStatisticsHistogram:
Inheritance graph
[legend]
Collaboration diagram for CC3PerformanceStatisticsHistogram:
Collaboration graph
[legend]

List of all members.

Properties

GLshort * frameRateHistogram
GLshort * updateRateHistogram

Detailed Description

Collects statistics about the updating and drawing performance of the 3D world, 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.


Property Documentation

- (GLshort*) frameRateHistogram [read, assign]

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.

This histogram is cleared when the reset method is invoked.

- (GLshort*) updateRateHistogram [read, assign]

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.

This histogram is cleared when the reset method is invoked.


The documentation for this class was generated from the following file: