CHAPTER 9: Performance ’n’ Stuff (^303)
Figure 9-10. The inspector for the OpenGL analyzer
The inspector will let you select what kinds of traces you can record. Each item selected
will add a new track to the track window. The colors are the ones used to distinguish
each trace from the others, while the symbols are used only if you choose a track style
of Line Graph in the Track Display section near the bottom.
The Configure button will flip the page to a larger list of statistics. These are all the ones
to list in the detail pane. Since not all would work as graphs, you have more selections
to choose from.
As of this writing, you have the following kinds of traces you can collect and, unless
noted, are not cumulative but per frame only (and in most cases, the fewer the better):
#Batches: The number of calls to the various batch routines such as
glDrawArrays() or glDrawElements().
#Disables: The number of calls to glDisable().
#Enables: The number of calls to glEnable().
#Flushes: The number of times glFlush() is called.
#GL & Platform Calls: The total instantaneous number of API calls to
both OpenGL and iOS per frame.
#GL calls: Same as previous but OpenGL calls only.
singke
(singke)
#1