1 Reply Latest reply on Jan 30, 2010 1:05 PM by mimarsh2

    Hit Count

    Morantex
      Recording the number of times a line is executed.

      Hi

      CodeAnalyst is proving useful to me but I am frustrated by the lack of a hit count feature.

      Can you guys consider adding this to a future version?

      If I see a line in some DLL of mine has taken 450 cpu cycles, then it helps to know if that line was executed 1 time, 100 times or a 1,000,000 times.

      Without that info it is very hard to assess the overall importance of some suspected hot spot.

       

      Thanks

      Hugh

       

       

       

        • Hit Count
          mimarsh2

          I could be wrong, but I think that Code analyst profiling works by taking a snapshot of the call stack at a given interval.  It can't tell you how many times a function was called, just how many times your code was currently in that function when the snapshot occurred.