2 Replies Latest reply on Nov 2, 2014 4:12 AM by tjammet

    Call function counts




      I'm a new user of CodeXL and I would like to know if there is a way to count function calls in CodeXL.

      I don't want the CPU time usage of my program's functions but only the number of times they are called.






        • Re: Call function counts

          Hi Thomas,

          The short answer to your question is that CodeXL CPU Profiler cannot provide a function call count.

          The long answer is below.

          The CodeXL CPU Profiler uses a sampling methodology to gather application data. Therefore, the profiler does not track the calling of functions. Instead the profiler logs what function is executed at a given point in time when a sample is collected or when a specific CPU event occurs (such as cache miss, etc.). Function call events are not logged by the profiler, therefore it cannot report their count.


          Incidentally, if the function call you'd like to count is an OpenCL or OpenGL API function, the CodeXL debugger can provide its calls count in its Statistics view.