title: C - How to check if code is making efficient cache usage?
body: <p>I have an application which processes huge amount of data every 50ms. There are many structures which are used in tight nested loops. <strong>I want to know if the code is making efficient use of cache.</strong></p>
  
  <p><em>I have also made effort to search here regarding this</em> and also got many good suggestions for best practices. But my issue is I don't have any tools to do this job.</p>
  
  <p>I do know some basics about how structures have to be declared,loop unrolling etc.</p>
  
  <p>I need something that can point out where I can optimize the code for better cache efficiency.</p>
  
  <p>Also please suggest if any free tools are available for this.</p>
  
  <p><em>Environment data-
     Processor: MPC8610,
     Compiler: Windriver,
     Language: C</em></p>