Examining function inlining

Inlining in the Performance Source Viewer

If compiler transformation reports are available then inlining information will be available in the Performance Source Viewer for C/C++ code.

Arrow icons shown in the ruler on the left side of the viewer are used to indicate source lines where inlining occurred. Each arrow icon indicates that one or more function calls were inlined on that line of code.

The overview ruler shows all the locations in the file were inlining occurred.

Placing the mouse cursor over an arrow icon will cause a hover pop-up to appear. This pop-up shows the functions that were inlined.

You can move the mouse cursor into the hover. Double clicking a function will open the source code for that function.

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.

Click the Open Source icon in the top right corner of the area to open a new viewer on the file that contains the inlined function.

To close the expanded area click on the arrow icon again or click the close icon in the top right corner of the area.


Feedback