开发者

How to get the CPU usage of iPhone/iPad?

I saw in A+ monitor, it can show CPU Idle, CPU usage, CPU System. Which API should be used to get the these information? I have searched and I use the getloadavg function, but it can only return the CPU usage. Also it is not co开发者_开发技巧rrectly for it will always be more than 90%.

Thanks!


Most of these can be retrieved using the appropriate sysctl() selectors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜