Performance Source Viewer

The Performance Source Viewer provides a read-only display of source code along with line-level performance data.

Performance Data

At the top of the viewer is the Breadcrumb Bar. The underlying system tools are limited in that they only collect line-level performance data relative to the whole system. Because of this limitation the breadcrumb bar only displays the entire system and cannot be used to drill down into specific processes.

The left side of the viewer contains a ruler that shows the relative "hotness" for each line of code.

For C/C++ code, if compiler transformation reports are available then small arrow icons will appear next to lines of code where function calls were inlined. You can hover the mouse cursor over these icons to see the names of the functions that were inlined.

Click on an arrow icon to see the source code for the inlined function. An area is expanded to show the code directly inline, simulating the structure of the inlined code.

The overview ruler on the right side of the viewer shows all the places in the file were function calls were inlined.

The hotness overview ruler on the right side shows the places in the file that have hot lines of code.

When multiple lines of code are selected their percentages are added up and shown at the top of the viewer.

Toolbar buttons at the top of the viewer can be used to find the hottest line of code, to open the file in the regular C/C++ editor and to change display properties.


Feedback