Bagikan melalui


Lines View - Profiler .NET Memory Sampling Data

The Lines view for .NET memory allocation profiling data using the sampling method lists the statements that allocated memory during the profiling run, and it reports the size and number of allocations.

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 source file that contains the function statement.

  • The function that contains the statement.

  • The source line at which the statement starts.

  • 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.

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 statement.

Module Path

The path of the module that contains the statement.

Source File

The source file that contains the statement.

Function Name

The name of the function that contains the statement.

Function Line Number

The line number of the start of this function in the source file.

Function Address

The starting address of the function.

Source Line Begin

The starting line number in the source file at which the allocation occurred.

Source Line End

The ending line number in the source file at which the allocation occurred.

Source Character Begin

The offset of the starting character in the source file line at which the allocation occurred.

Source Character End

The offset of the ending character in the source file line at which the allocation occurred.

Line Name

A profiler-generated identifier of the line with the following syntax:Source File;[Line Number Start,Character Start]->;[Line Number Start,Character Start]

Exclusive Allocations

The total number of objects created in this line.

Exclusive Allocations %

The percentage of all objects created in the profiling run that were allocated in this line.

Exclusive Bytes

The percentage of all bytes of memory allocated in the profiling run that were allocated in this line.

Exclusive Bytes %

The percentage of all bytes of memory allocated in the profiling run that were allocated in this line.

See Also

Reference

Lines View - Profiler Sampling Data