简体   繁体   中英

How to get the Memory usage & CPU usage of particular iOS App?

I am having trouble in getting memory usage of a particular iOS application . Also i want to make sure that what ever output result i am getting is for particular running app on iPhone.

Please check the answer on this thread, https://stackoverflow.com/a/787535/4030948

here is the way to get used memory bytes for your app.

And for the CPU usage of your application, please check the answer on this thread, https://stackoverflow.com/a/8382889/4030948

The quickest way is to select the 6th icon along, on the left panel in XCode.

Make sure you have selected to run your project on the iphone device you are looking for, and keep an eye on these usage monitors as you use the app. A more thorough analysis is available using Instruments, but this is the quickest way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM