Tuesday, December 29, 2009

iPhone dev Stupidity 116: How to find out what mach_msg_trap wait

from stackoverflow:


"Turn out my app is not actually spending 65% of it's time in the mach_msg_trap function. It was a configuration error in Instruments on my part.

The Sampler tool defaults to All Sample Counts, this will measure all threads regardless of their state.

Instead switch to Running Sample Times that will reflect the current actual workload."

Shark has similar options:


No comments: