While Running the Correctness Tool

The Correctness tool performs extensive analysis of your running program to predict data sharing problems. After you change annotations or fix data sharing problems by modifying the sources, run the Correctness tool again to check the modified program's predicted data sharing problems, until the predicted data sharing problems have been fixed.

While the Correctness tool is running your application program:

  • Analysis data is collected as the program runs. Non-GUI output appears in the Application Output pane. A log of the collection messages appears in the Collection Log pane.

  • Messages appear as data is collected and finalized, such as informational, status, and each problem found. This includes the time the collection started, elapsed time, and each problem detected. Each problem includes the executable file name, source file name, and source line number.

  • When data collection completes, data finalization prepares the data for display.

  • After finalization completes, data appears in the Correctness Report window. If the Correctness tool did not detect any Problems, a No Problems Detected message appears instead. To view the Correctness Report window, click the text link under No Problems Detected.

  • New information also appears in the dashboard-like Summary window, including the collection times and links that allow you to view the application output and the collection messages.

To skip uninteresting parts of your target while the target continues to run, you can insert the Pause Collection and Resume Collection annotations around uninteresting source code region(s). These annotations are recognized by all three Intel Advisor tools.

If an interesting problem appears, or you get impatient, you can stop or cancel the collection by doing one of the following:

  • Stop the collection and retain the collected data. To do this, click the button in the Correctness Report window's command toolbar.

  • Cancel the collection and discard the collected data. To do this, click the button in the Correctness Report window's command toolbar.

After you run the Correctness tool, view its displayed data in the Correctness Report window.

Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.