Intel® Advisor Help

Minimizing Data Collection, Result Size, and Execution Time (Trip Counts)

For medium-large targets, several methods are available to minimize the amount of data collected and target execution time. Minimizing the data collected reduces the amount of data you need to examine in the Trip Counts Report; it also reduces the size of the generated result.

The Trip Counts tool also provides a capability of collecting data about loops in a already running application. You can use this capability to collect data about loops in the specific code region.

The recommended method is to:

  1. Enable the Advisor's Attach to Process capability by doing the following:
    1. Open project properties in Advisor by clicking File > Project Properties..., or by using the CTRL+P key combination.
    2. In the Analysis Target tab select Survey Trip Count Analysis.
    3. From the Trip Count Launch Application drop-down menu select Trip Count Attach To Process and click OK.
  2. Start the target application and wait for it to reach the code region that you are interested in.
  3. Start the Trip Counts tool and stop it once the application finishes executing the target code region.

After you click the Stop button, the Trip Counts tool finalizes the collected data, maps it to the Survey Analysis results, so that the data about loops appears in the Survey Report.

See Also