我应该在 Xcode 中使用什么工具来查看 FPS?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8298698/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What instrument should I use in Xcode to see FPS?
提问by medvedNick
Some time ago I used instruments to see the FPS of an iPad application in Xcode 3. Now I'm using Xcode 4 and I can't find the correct instrument for viewing the FPS. What is it?
前段时间我用instruments在Xcode 3中查看iPad应用程序的FPS。现在我使用的是Xcode 4,我找不到查看FPS的正确仪器。它是什么?
回答by medvedNick
I was trying to view FPS on Simulator, on real device the list of instruments differs from the list of simulator ones. So I connect iPad to Mac, choose "Core Animation" instrument and get FPS.
我试图在模拟器上查看 FPS,在真实设备上,仪器列表与模拟器列表不同。所以我将 iPad 连接到 Mac,选择“核心动画”工具并获得 FPS。
回答by Ultrakorne
in an OpenGL app you can use in Instrument -> Graphics -> OpenGL Es Driver
在 OpenGL 应用程序中,您可以在 Instrument -> Graphics -> OpenGL Es Driver 中使用