Intel® Advisor Help

Pane: Advanced View

Source Tab | Top Down Tab | Code Analytics Tab | Assembly Tab | Assistance Tab | Recommendations Tab

Use this pane to get detailed information about a specific function/loop.

Location

View the Advanced view pane at the bottom of the Survey Report and CPU Roofline report windows.

Source Tab

Use this tab to view source code for a selected function/loop.

Double click a code line to open source code in a code editor. Right-click a code line to open a context menu with the following options:

Top Down Tab

Use this tab to view the hierarchy of functions/loops, locate a selected function/loop in call chains, and view analysis results for a selected function/loop.

View the function/loop hierarchy in a stack, the source code associated with a specific function or loop, and more. Each function or loop appears on a separate grid line. Loops are identified with an icon and the word loop, followed by the function or procedure name that executes it and the source location.

There are two main regions in the Top Down tab:

Controls

You can customize the columns shown in the Top Down grid. Click the Customize View button in the upper right of the application to display the View Layout drop-down list and the Settings control (gear icon) in the upper-right of the Top Down tab.

Select a column layout from the View Layout drop-down list to change the columns to match an existing column layout.

You can modify a column layout. Select the Settings control next to the View Layout drop-down list to open the Configure Columns dialog box, then:

  1. Choose an existing view layout in the Configuration drop-down list.
  2. Enable/disable columns to show/hide.

    Outcome: A new view layout is added to the Configuration drop-down list, with Copy n added to the name of the original layout.

  3. Click the Rename button and supply an appropriate name for the customized view layout.
  4. Click OK to save the customized view layout.

You can also right-click the name of a column in the grid to Hide Column, Show All Columns, or Configure Column Layouts. You can choose to display one layout in the main Survey Report grid, and choose another layout for the Top Down tab.

Note

Hiding or showing columns in a column layout will apply your changes to any grid (the Survey Report grid or the Top Down tab) that is currently using the layout. However, you can rearrange columns in one grid without affecting another grid.

Code Analytics Tab

Use this tab to view the most important statistics for a selected function/loop.

There are several regions available in the Code Analytics tab:

Assembly Tab

Use this tab to view assembly representation for a selected loop.

Assistance Tab (Threading Perspective Only)

Use this tab to get recommendations on making annotations in your source code.

Controls

Use a drop-down menu on the top right of this pane to view examples of annotated source code for different task code structures and recommended build settings for the language in use. The following options are available:

  • Iteration Loop, Single Task - View and copy an annotation code snippet for a simple loop structure, where the task's code includes the entire loop body. Use this common task structure when only a single task is needed within a parallel site.

  • Loop, One or More Tasks - View and copy an annotation code snippet for a loops where the task code does not include all of the loop body, or for complex loops or code that requires specific task begin-end boundaries, including multiple task end annotations. Also use this structure when multiple tasks are needed within a parallel site.

  • Function, One or More Tasks - View and copy an annotation code snippet for code that calls multiple functions (task parallelism). Use this structure when multiple tasks are needed within a parallel site.

  • Pause/Resume Collection - View and copy an annotation code snippet whose annotations temporarily pause data collection and later resume it. This lets you skip uninteresting parts of the target program's execution to minimize the data collected and speed up the analysis of large applications. Add these annotations outside a parallel site.

  • Build Settings - View and copy build (compiler and linker) settings. The Build Settings are specific to the language in use.

View annotated code samples in the text display area. To copy the text lines to the clipboard, right-click and select Copy to Clipboard from the context menu, or use the button on the upper-right of the Assistance tab..

Recommendations Tab

Use this tab to explore code specific recommendations how to fix vectorization issues.

Controls

You can view a list of all performance issues detectable in Intel Advisor. Next to All Advisor-detectable issues, click to display either C++ or Fortran issues.

Issues and recommendations are displayed in a list. Under each issue, you'll see an explanation of the issue, recommendations for how to resolve it, and code samples that you can expand o collapse. You may also see Read More links with additional information about the topic.

You can jump to a specific issue by clicking its name in the list of detected issues to the right.