简体   繁体   中英

How to find the cause of a 100% CPU usage on an iPhone App

I've diagnosed a strange behavior in an app : after 10 minutes or so, the CPU usage goes to 100%. There's no leak in the app, and it happens while the app is doing nothing.

I can profile this with instruments using the "Time Profiler", but is there a way to find what the actual cause is ?

When profiling with Instruments (Time Profiler), look to see what method is using the majority of CPU time. Trace the calls back to see why.

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