为iPhone应用程序计算fps(每秒帧数) [英] Calculate fps (frames per second) for iphone app

查看:115
本文介绍了为iPhone应用程序计算fps(每秒帧数)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用opengl es iPhone应用程序.计算我的应用程序每秒帧以进行性能调整的最准确方法是什么?

I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?

推荐答案

尝试运行:

Run -> Run With Performance Tool -> OpenGL ES.

连接到设备时,您必须运行该工具(显然,无论如何您都希望进行性能调整...)

You have to run that tool when connected to the device (which you'd obviously want to anyway for performance tuning...)

它为您提供了(可能)不是您想要的Core Animation FPS,但是它可以为您绘制许多其他有用的统计数据,这也可能有助于您进行优化.

It gives you Core Animation FPS which may (probably) not be what you are looking for, but it can graph a number of other useful statistics for you which may also help you optimize.

这篇关于为iPhone应用程序计算fps(每秒帧数)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆