Lines View - Sampling Data

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

The Lines view of sampling data lists performance data for the statements that were executing when the samples were collected in the profiling run.

System_CAPS_ICON_note.jpg 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. Windows Store apps also require new collection techniques. See Performance Tools on Windows 8 and Windows Server 2012 applications.

In a source file, a statement can span more than one line in a source file, and a single line can include more than one statement. A statement is identified by the following:

  • The source file that contains the function statement.

  • The function that contains the statement.

  • The source line at which the statement begins.

  • The character in the source line at which the statement starts.

  • The source line at which the statement ends.

  • The character in the source line at which the statement ends.

The Line Name column provides a sortable concatenation of the identifier data.

By definition, a statement does not call other functions. Therefore, only exclusive values are listed.

ColumnDescription
Process IDThe process ID (PID) of the profiling run.
Process NameThe name of the process.
Module NameThe name of the module that contains the function line.
Module PathThe path of the module that contains the function line.
Source FileThe source file that contains the function line.
Function NameThe name of the function.
Function Line NumberThe line number of the start of this function in the source file.
Function AddressThe starting address of the function.
Source Line BeginThe starting line number in the source file at which this sample was collected.
Source Line EndThe ending line number in the source file at which this sample was collected.
Source Character BeginThe offset of the starting character in the source file line at which this sample was collected.
Source Character EndThe offset of the ending character in the source file line at which this sample was collected.
Line NameA profiler-generated identifier of the line with the following syntax:Source File;[Line Number Start,Character Start]->;[Line Number End,Character End]
Exclusive SamplesThe total number of samples that were collected when the function line was executing.
Exclusive Samples %The percentage of all samples in the profiling run that were collected when the function line was executing.

Lines View - Sampling

Show: