Function Counting

HomeHow Do IDetails

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.

The Function Counting option in the Profile dialog box records how many times each function was called (hit count).

Function counting is similar to function timing, but only hit counts (greater than zero) are recorded, so profiled program execution is slightly faster. Here is a sample output line with column headings:

Hit Count   %   Function
------------------------------------------------------------
1   25.0   LoadCursorA@8(user32.def)

Function attribution is also available with function counting.