开发者

How to get the CPU usage of iPhone/iPad?

开发者 https://www.devze.com 2023-01-10 02:39 出处:网络
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 C

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

精彩评论

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