Dependencies Analysis

Purpose and Usage | Prerequisites | Run | Report Regions and Purpose | Data Reference

Dependencies Analysis Purpose and Usage

View any predicted data sharing problems and informational remark messages.

Dependencies Analysis Prerequisites

To prepare to run a Dependencies analysis:

  1. Do one of the following to open the Analysis Target tab in the Project Properties dialog box:

    • In the Intel Advisor GUI, choose Project > Project Properties…

    • In the Visual Studio IDE, choose Project > Intel Advisor 201n Project Properties….

  2. Choose the Dependencies Analysis type, then specify the same application as in the Survey Hotspots Analysis type, but a smaller input data set if possible. Select Track stack variables to detect all possible dependencies.

  3. Generate a Survey Report.

  4. Mark one or more un-vectorized loops for deeper analysis by enabling the corresponding checkboxes in the Survey Report.

Tip

  • If possible, use the Inherit settings from Survey Hotspots Analysis Type checkbox.

  • The Dependencies Analysis type consumes more resources than the Survey Hotspots Analysis type. If analysis takes too long, consider decreasing the workload.

  • Setting search directories in the Binary/Symbol Search tab and Source Search tabs is optional for the Vectorization Advisor.

  • Marking loops for deeper analysis using the checkbox is a Vectorization Advisor-specific alternative to adding annotations in target application source code.

  • Dependencies analysis is time intensive. The fewer loops you mark for deeper analysis, the less time it takes to collect the data.

  • Choose the optimal compiler settings. The most up-to-date settings are in Getting Started with Intel® Advisor.

Run a Dependencies Analysis

To run a Dependencies analysis, do one of the following:

  • Click the Intel Advisor control: Run analysis button under Check Dependencies in the Workflow tab.

  • In the Visual Studio Solution Explorer, right-click the project, then choose Intel Advisor 201n > Start Dependencies Analysis.

While analysis is running, you can do the following under the Check Dependencies step in the Workflow tab

  • Stop analysis and data collection, and retain the already collected data: Click the button.

  • Cancel analysis and data collection, and discard the collected data: Click the button.

  • Interrupt post-collection data finalization: Click the button.

Tip

See Getting Started with Intel® Advisor for corresponding command line interface commands.

There are also controls and annotations available to minimize data collection, result size, and execution time. Check See Also.

Dependencies Report Regions and Purpose

In the Dependencies Report tab at the bottom of the Refinement Report:

  • Problems and Messages pane - Select the problems that you want to analyze by viewing their associated observations.

  • Code Locations pane - View details about the code locations for the selected problem in the Dependencies Report window. Icons identify the focus code location and related code location .

  • Filters pane - Filter contents of the report tab.

Associated Dependencies Source window, from top left to bottom right:

  • Focus Code Location pane - Use this pane to explore source code associated with focus code location in the Dependencies Source window.

  • Focus Code Location Call Stack pane - Use this pane to select which source code appears in the Focus Code Location pane in the Dependencies Source window.

  • Related Code Locations pane - Use this pane to explore source code associated with related code locations (related to the focus code location) in the Dependencies Source window.

  • Related Code Location Call Stack pane - Use this pane to select which source code appears in the Related Code Location pane.

  • Code Locations pane - Use this pane to view the details about the code location for the selected problem in the Dependencies Report window.

  • Relationship Diagram pane - Use this pane to view the relationships among code locations for the selected problem.

Using Dependencies Data

Use the Dependencies Report to view each reported problem and its associated code locations. Use the Dependencies Source window to view the focus and related source code regions to help you understand the cause of the reported problem.

To learn about a reported problem, right-click its name in the Dependencies Report, Problems and Messages pane and select What Should I Do Next?. This displays the help topic for that problem type.

For more complete information about compiler optimizations, see our Optimization Notice.