About Inserting Annotations into Your Source Code

You have several ways to insert Intel Advisor annotations into your source code:

  • When using any code editor, you can copy annotations for parallel site, task, and lock annotations by using the annotation assistant in the Survey Report window, Survey Source window, or the No Data message.

  • After you become familiar with these annotations and their arguments, you may be able to manually type them into your code editor.

Use the links below to open the help topics that explain each of these ways to insert annotations.


If your sources include huge source files that contain annotations, be aware that only the first 8 MB of each file will be parsed for annotations. If not all of your annotations are being parsed in such huge source files, consider breaking each huge source file into several source files.