Wednesday, April 13, 2011

Performance counters on the iPhone

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?

From stackoverflow

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.