Insert Annotations in a Text
Editor
Insert
Annotations in a Text
EditorTo add
annotations into your source files on a Linux* system, you can use any text
editor.
simplifies the process of locating where to add annotations.
Intel® Advisor
Intel® Advisor
In most cases, you do not need source annotations when using
Intel® Advisor
, except for the Suitability analysis of the
Threading
perspective. When analyzing your application with other perspectives, such as
Vectorization and Code Insights
or
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.
To add
annotations:
Intel® Advisor
- Open theGUI and the relevant project.Intel® Advisor
- In theFilemenu, selectOptions.
- SelectEditorto display theOptions - Editordialog box. Follow the instructions to associate an editor with your source language(s).
- For your project, open theSurvey Sourcewindow.
- Double-click a source line to display the specified editor opened to the corresponding source location.
- Use the annotation assistant pane in the lower part of theSurvey Sourcewindow to select the type of annotation you want to add.
- Copy the selected annotations from the annotation assistant pane by clicking the
button.
- Paste the copied annotations into your editor.
- You may need to move some annotation lines around.
- Repeat as needed for other annotations from step 4.
This enables you to quickly add annotations into the appropriate source
files.