Anyone know of a script to get a listing that will be able to tell me the most frequently called functions for a C project?
method1 391
method2 23
method3 12
Even better have it be customizable to require a keyword in the method name "get".
I'm trying not to reinvent the wheel and write a simple script to do it myself. Probably an easy way to do this with grep or awk. I can write a regular expression to match a function call name. An Eclipse Plugin would be ideal.
I'm not looking for a profiler. The reason I want such a method is I need to optimize program space for an embedded project. I tend to encapsulate my member variables with getters but may need to use externs and access the most used members directly to cut down on space.