Function Attribution

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 .

Attribution data can be collected for function counting or function timing. Function attribution records information about who called a particular function by taking a snapshot of the stack on each function call. Function hits and function timing can then be attributed to particular stacks. You can specify the depth of the stack to profile with attribution. If the stack depth is set to one (1), only the immediate calling function will be recorded. You can also attribute function timing and hits for all functions in the entire caller history.

See the PREP switches /AT and /STACK for more information on function attribution.