I'm trying to find the best method of incode performance monitoring on the iPhone.
On a windows platform I would use the following functions :
QueryPerformanceCounter((LARGE_INTEGER *)&ctr);
QueryPerformanceFrequency((LARGE_INTEGER *)&freq);
Does anything like this exist on the iPhone? Whats the highest resolution I can time something without using an external tool such as Instruments or Shark?
Things is a beautifully designed and intuitive task manager for your iPhone, iPad, and Mac.
GPU counters are granular statistics that relate to the specific render, compute, or blit work your app did in the captured frame. To find coding problems or tune your performance, check the counters for hot spots and make adjustments to your app as needed.
I think mach_absolute_time is what you are looking for. For more information:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With