title: How to profile time spent in memory access in C/C++ applications?
body: <p>Total Time spent by a function in an application can be broadly divided in to two components:</p>
  
  <ol>
  <li>Time spent on actual computation (Tcomp)</li>
  <li>Time spent on memory accesses (Tmem)</li>
  </ol>
  
  <p>Typically profilers provide an estimate of the total time spent by a function. Is it possible to get an estimate of the time spent in terms of the above two components (Tcomp and Tmem)?</p>