Modules View - Profiler .NET Memory Sampling Data

The Modules view of .NET memory allocation data collected with the sampling method groups the memory data by the modules that were executed in the profiling run. Each module is the root of a hierarchical tree. The functions of the module are listed underneath the module node.

The source file line numbers of statements that allocate memory are listed underneath the function node, and the addresses of the instructions that do the allocation are listed underneath the line node. Inclusive and exclusive values are always the same for line data and instruction data.

Column

Description

Name

The name of the module, function, line number, or instruction address.

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.

Source File

The source file that contains the definition for this function.

Function Line Number

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

Inclusive Allocations

  • For a function, the total number of objects created by the function. The number includes objects created in functions that were called by this funtion.

  • For a module, the number of objects in a profiling run that were allocated while at least one function from the module was executing. The number includes objects created in functions that were called by the module functions.

  • For a line or instruction, the total number of objects allocated by the line or instruction.

Inclusive Allocations %

The percentage of all objects allocated in the profiling run that were inclusive allocations of the module, function, line, or instruction.

Exclusive Allocations

  • For the current function, the number of objects that were created when the function was executing code of the function body, that is, when the function was at the top of the call stack. The number does not include objects created in functions that were called by this funtion.

  • For a module, the sum of the exclusive allocations of the functions in the module.

  • For a line or instruction, the total number of objects created by this line or instruction.

Exclusive Allocations %

The percentage of all objects allocated in the profiling run that were exclusive allocations of the module, function, line, or instruction.

Inclusive Bytes

  • For a function, the number of bytes allocated by the function. The number includes bytes allocated in functions that were called by this funtion.

  • For a module, the number of bytes allocated in a profiling run that were allocated while at least one function from the module was executing. The number includes objects created in all function that were called by the module functions.

  • For a line or instruction, the total number of objects created by the line or instruction.

Inclusive Bytes %

The percentage of all bytes allocated in the profiling run that were inclusive bytes of the module, function, line, or instruction.

Exclusive Bytes

  • For a function, the total number of bytes allocated by the function. The number does not include bytes allocated in functions that were called by this funtion.

  • For a module, the sum of the exclusive bytes allocated by the functions in the module.

  • For a line or instruction, the total number of objects allocated by this line or instruction.

Exclusive Bytes %

The percentage of all bytes allocated in the profiling run that were exclusive bytes of the module, function, line, or instruction.

See Also

Tasks

How to: Customize Profiling Tools Report Views

Reference

Modules View - Profiler .NET Memory Instrumentation Data

Modules View - Profiler Sampling Data

Modules View - Profiler Instrumentation Data