Compartir a través de


Functions View - sampling data

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Functions report view for the sampling profile method lists the functions that were sampled during the profiling run.

Note

Enhanced security features in Windows 8 and Windows Server 2012 required significant changes in the way the Visual Studio profiler collects data on these platforms. UWP apps also require new collection techniques. See Performance Tools on Windows 8 and Windows Server 2012 applications.

Column Description
Process ID The process ID (PID) of the profiling run.
Process Name The name of the process.
Module Name The name of the module that contains the function.
Module Path The path of the module that contains the function.
Source File The source file that contains the definition for this function.
Function Name The fully qualified name of the function.
Function Line Number The line number of the start of this function in the source file.
Function Address The address of the function.
Inclusive Samples The total number of samples that were collected when this function was executing; that is, the number of samples that were collected when this function was on the call stack. The number includes samples that were collected when functions that were called by this function were executing.
Inclusive Samples % The percentage of all samples in the profiling run that were inclusive samples of this function.
Exclusive Samples The total number of samples that were collected when code in the body of this function was executing; that is, when this function was on the top of the call stack. Samples that were collected in functions that were called by this function are not included.
Exclusive Samples % The percentage of all samples in the profiling run that were exclusive samples of this function.

See also