title: How to profile an app that uses IPC
body: <p>I have implemented part of activity monitor using NSTAsk and NSPipe.
  This is very slow. Is there any other method to implement it ?</p>
  
  <p>And also tell me how to get samples of prcesses.</p>