#import <CC3PerformanceStatistics.h>
Properties | |
GLint * | frameRateHistogram |
GLint * | updateRateHistogram |
Properties inherited from CC3PerformanceStatistics | |
CCTime | accumulatedFrameTime |
CCTime | accumulatedUpdateTime |
GLfloat | averageDrawingCallsMadePerFrame |
GLfloat | averageFacesPresentedPerFrame |
GLfloat | averageNodesDrawnPerFrame |
GLfloat | averageNodesTransformedPerUpdate |
GLfloat | averageNodesUpdatedPerUpdate |
GLfloat | averageNodesVisitedForDrawingPerFrame |
GLuint | drawingCallsMade |
GLuint | facesPresented |
GLfloat | frameRate |
GLuint | framesHandled |
GLuint | nodesDrawn |
GLuint | nodesTransformed |
GLuint | nodesUpdated |
GLuint | nodesVisitedForDrawing |
GLfloat | updateRate |
GLuint | updatesHandled |
Additional Inherited Members | |
Instance Methods inherited from CC3PerformanceStatistics | |
(void) | - addDrawingCallsMade: |
(void) | - addFacesPresented: |
(void) | - addFrameTime: |
(void) | - addNodesDrawn: |
(void) | - addNodesTransformed: |
(void) | - addNodesUpdated: |
(void) | - addNodesVisitedForDrawing: |
(void) | - addSingleCallFacesPresented: |
(void) | - addUpdateTime: |
(NSString *) | - fullDescription |
(void) | - incrementNodesDrawn |
(void) | - incrementNodesTransformed |
(void) | - incrementNodesUpdated |
(void) | - incrementNodesVisitedForDrawing |
(void) | - reset |
Class Methods inherited from CC3PerformanceStatistics | |
(id) | + statistics |
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.
|
readnonatomicassign |
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.
|
readnonatomicassign |
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.