User Guide


Annotations into Your Source Code

can add
Intel® Advisor
annotations in your source code by:
  • Copying annotations with the annotation assistant in the
    Survey Report
    Survey Source
    window, or the
    No Data
    message. Use the annotation assistant to copy the main annotations for parallel sites, tasks, and locks. For example, the annotation assistant appears in the lower part of the
    Survey Report
    window in the
  • On Windows* OS only
    : When using the Visual Studio* code editor, you can use the Annotation Wizard to select an annotation type and add the annotations and their arguments into your code. You can use the Annotation Wizard to add parallel site, task, lock, pause/resume data collection, and special-purpose annotations.
In most cases, you do not need source annotations when using
Intel® Advisor
, except for the Suitability analysis of the
perspective. When analyzing your application with other perspectives, such as
Vectorization and Code Insights
Offload Modeling
, you can analyze all parts of your code automatically or use
Intel Advisor
mark-up capabilities, which do not require you to recompile your application.
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.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at