Is there any way I can the get overall CPU usage of an iPhone. I have seen a few apps like Battery Doctor and System Activity Monitor for iPhones which display overall CPU usage.
I found a solution, (link to the answer) but it only gives me the CPU usage of my app and not of all the overall apps.
please, try this one, it might a good start for you. it has been tested on real device only.
you also need the following headers as well: