Sdílet prostřednictvím


Caller/Callee view

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 for a selected function and its parent and child functions. The Caller/Callee view contains three grids:

Current function is displayed in the middle grid, and it shows profiling information for the selected function. The values include all calls to the function that were collected in the profiling run.

Functions that called the current function is displayed in the top grid, and it shows the number of the values of the selected (current) function that were generated by calls from the caller (parent) function.

Functions that were called by the current function is displayed in the bottom grid, and it shows profiling information for the callee (child) functions of the selected function when the child function was called by the current function.

The columns that are available in the Caller/Callee view depend on the profiling method (sampling or instrumentation) that was used to collect the data, and whether .NET memory data was collected in the profiling run.

You can select a different function to be the Current Function in the middle part of the Report view by double-clicking any one of the functions that are listed in the other two parts of the view. The Report view is updated automatically to reflect the changes.

You can sort the data by clicking column names. Additional columns can be added to the Caller/Callee view. For more information, see How to: Customize report view columns.

See also