다음을 통해 공유


Caller/Callee view - instrumentation 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 Caller/Callee view displays profiling information about a selected function and its parent and child functions in the call tree. The Caller/Callee view contains three grids.

Current function is displayed in the middle grid, and it shows profiling information about the selected function. The values include all calls to the function.

Functions that called the current function is displayed in the top grid, and it shows profiling information about the caller (parent) functions of the selected function. The values indicate the amount of the value of the current function that was generated by calls from this caller function.

Functions that were called by the current function is displayed in the bottom grid, and it shows profiling information about instances of the callee (child) functions of the selected function. The values indicate only the time that was spent in the child function when it was called by the current function.

General

The general columns identify the function in a view row.

Column Description
Function Name The name of the function.
Function Address The address of the function.
Function Line Number The line number of the start of this function in the source file.
Number of Calls The total number of calls made to this function.
Source File The source file that contains the definition for this function.
Module Name The name of the module that contains the function.
Module Path The path of the module that contains the function.
Process ID The process ID (PID) of the profiling run.
Process Name The name of the process.
Time Exclusive Probe Overhead The time overhead for this function that was caused by instrumentation. Probe overhead has been subtracted from all exclusive times.
Time Inclusive Probe Overhead The time overhead for this function and its child functions that was caused by instrumentation. Probe overhead has been subtracted from all inclusive times.
Type The context of the function:

0 - the current function

1 - a function that calls the current function

2 - a function that is called by the current function

Only in VSPerfReport command-line reports.
Root Function Name The name of the current function. Only in VSPerfReport command-line reports.

Elapsed inclusive values

Elapsed inclusive values indicate the time that a function was on the call stack. The time includes time that was spent in child functions and time that was spent in calls to the operating system, such as context switches and input/output operations.

Column Description
Elapsed Inclusive Time - For the current function, the time that was spent in the function. The value includes time that was spent in child functions and in calls to the operating system, such as context switches and input/output operations.
- For a caller function, the amount of the elapsed inclusive time of the current function that was generated by calls from this caller function.
- For a callee function, the time that was spent in instances of this function that were generated by calls from the current function. The value includes time that was spent in child functions of the callee and in calls to the operating system, such as context switches and input/output operations.
Elapsed Inclusive Time % The percentage of the total elapsed inclusive time of the profiling run that was spent in the elapsed inclusive time of this function in this context.
Avg Elapsed Inclusive Time The average elapsed inclusive time of a call to this function in this context.
Max Elapsed Inclusive Time The maximum elapsed inclusive time of a call to this function in this context.
Min Elapsed Inclusive Time The minimum elapsed inclusive time of a call to this function in this context.

Elapsed exclusive values

Elapsed exclusive values indicate the time that a function was directly executing at the top of the call stack. The time includes time that was spent in calls to the operating system, such as context switches and input/output operations, but it does not include time that was spent in child functions.

Column Description
Elapsed Exclusive Time - For the current function, the time that was spent in the direct execution of the function. The value includes time that was spent in child functions and in calls to the operating system, such as context switches and input/output operations.
- For a caller function, the amount of the elapsed exclusive time of the current function that was generated by calls from this caller function.
- For a callee function, the time that was spent in instances of this function that were generated by calls from the current function. The value excludes time that was spent in child functions of the callee function, but it includes calls to the operating system, such as context switches and input/output operations.
Elapsed Exclusive Time % The percentage of the total elapsed exclusive time of the profiling run that was spent in the total elapsed exclusive time of this function in this context.
Avg Elapsed Exclusive Time The average elapsed exclusive time of a call to this function in this context.
Max Elapsed Exclusive Time The maximum elapsed exclusive time of a call to this function in this context.
Min Elapsed Exclusive Time The minimum elapsed exclusive time of a call to this function in this context.

Application inclusive values

Application inclusive values indicate the time that a function was on the call stack. The time does not include time that was spent in calls to the operating system, such as context switches and input/output operations, but it does include time that was spent in child functions.

Column Description
Application Inclusive Time - For the current function, the time that was spent in the function and its child functions. The value excludes time that was spent in calls to the operating system, such as context switches and input/output operations.
- For a caller function, the amount of the application inclusive time of the current function that was generated by calls from this caller function.
- For a callee function, the time that was spent in instances of this function that were generated by calls from the current function. The value includes time that was spent in child functions of the callee function, but it does not include time that was spent in calls to the operating system, such as context switches and input/output operations.
Application Inclusive Time % The percentage of the total elapsed inclusive time of the profiling run that was spent in the total application inclusive time of this function in this context.
Avg Application Inclusive Time The average application inclusive time of a call to this function in this context.
Max Application Inclusive Time The maximum application inclusive time of a call to this function in this context.
Min Application Inclusive Time The minimum application inclusive time of a call to this function in this context.

Application exclusive values

Application exclusive values indicate the time that was spent in the function. This excludes time that was spent in child functions, and also excludes calls to the operating system, such as context switches and input/output operations.

Column Description
Application Exclusive Time - For the current function, the time that was spent in the direct execution of the function. The value does not include time that was spent in child functions, nor does it include calls to the operating system, such as context switches and input/output operations.
- For a caller function, the amount of the application exclusive time of the current function that was generated by calls from this caller function.
- For a callee function, the time that was spent in instances of this function that were generated by calls from the current function. The value does not include time that was spent in child functions of the callee function, nor does it include calls to the operating system, such as context switches and input/output operations.
Application Exclusive Time % The percentage of the total elapsed exclusive time of the profiling run that was spent in the total application exclusive time of this function in this context.
Avg Application Exclusive Time The average application exclusive time of a call to this function in this context.
Max Application Exclusive Time The maximum application exclusive time of a call to this function in this context.
Min Application Exclusive Time The minimum application exclusive time of a call to this function in this context.

See also