title: How to check if app is cpu-bound or memory-bound?
body: <p>I've got an application that does few computational CPU work, but mostly memory accesses (allocating objects and moving them around, there's few numeric or arithmetic code).</p>
  
  <p>How can I measure the share of the time that am I spending in memory access latencies (due to cache misses), with the CPU being idle?</p>
  
  <p>I should note that the app is running on a Hyper-V guest; I'm not sure it will pose any difficulties, but it might.</p>