title: Report shows "no time accumulated" for gprof using Eclipse CDT
body: <p>After compiling with flags: <code>-O0 -p -pg -Wall -c</code> on GCC and <code>-p -pg</code> on the MinGW linker, the eclipse plugin gprof for shows no results. After that I did a cmd call using <code>gprof my.exe gmon.out &gt; prof.txt</code>, which resulted in a report witth only the number of calls to functions.</p>
  <pre><code>Flat profile: 
  Each sample counts as 0.01 seconds.
  no time accumulated
  
    %   cumulative   self              self     total           
   time   seconds   seconds    calls  Ts/call  Ts/call  name    
    0.00      0.00     0.00    16000     0.00     0.00  vector_norm
    0.00      0.00     0.00       16     0.00     0.00  rbf_kernel
    0.00      0.00     0.00        8     0.00     0.00  lubksb
  </code></pre>
  <p>I've came across this topic: <a href="https://stackoverflow.com/questions/1030829/gprof-reports-no-time-accumulated">gprof reports no time accumulated</a>. But my program is terminating in a clear maner. Also, <a href="https://www.eclipse.org/forums/index.php/t/197494/" rel="nofollow noreferrer">gprof view show no data on MingW/Windows</a>, but I am using 32 bits GCC. I have previously tried to use Cygwin, same result.</p>
  <p>I am using eclipse Kepler with CDT version 8.3.0.201402142303 and MinGW with GCC 5.4.0.</p>
  <p>Any help is appreciated, thank you in advance.</p>