In Xcode3, out of all options under "Run" -> "Run with Performance Tool", I can only select:
- Leaks
- CPU Sampler
- Allocations
- Ac开发者_开发问答tivity monitor
I cannot select any other option including "Zombies", "UI Recorder", etc., or most importantly for me, "OpenGL ES". I think this is consistent in all iOS projects on the machine, but I did not check.
How can I profile OpenGL ES?
Some of the options of Instrument are available only on the Device. Connect device, change the build from simulator to device... build the app first then try using instrument and see if your getting what you looking for..
You must first run the project in Xcode
, then select the Attach to Process
option in Instruments
and select your running application. It works for me.
You could run Instruments solo, it's a regular app and you don't have to launch it from Xcode. Then attach to your process and instrument away...
精彩评论