Share via


Function Timing

How Do IDetails

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

The Function Timing option in the Profile dialog box profiles the current project, recording how many times each function was called (hit count) as well as how much time was spent in each function and called functions.

Here is a sample of the data provided by function timing:

Func      Func+Child
Time   %   Time   %   Hit Count   Function
------------------------------------------------------------
2.606   48.1   2.606   48.1   2   _SetCursor@4

The Func Time column reports how much time it took for the function to run in seconds. The next column shows what percent of the total profile time is represented by the function time. Func+Child Time refers to the total time profiled for the function as well as any functions called by that function. The next column shows what percent of the total profile time is represented by the Func+Child time. The Hit Count column reports the number of times that the function was called. The Function column displays the decorated name of the function.

Function attribution is also available with function timing.