In the Visual Studio code editor, right click after selecting one or more source lines
|
-
Annotate Site - Inserts a pair of
ANNOTATE_SITE_BEGIN... and
ANNOTATE_SITE_END... annotations around the selected source lines. Type a name as an argument to the site annotation.
-
Annotate Iteration Task - Inserts a single
ANNOTATE_ITERATION_TASK... annotation at the selected source line. Type a name as an argument to the task annotation. Use this annotation for a simple loop within a parallel site that has only a single task, and that task includes the entire loop body.
-
Annotate Task Region - Inserts a pair of
ANNOTATE_TASK_BEGIN... and
ANNOTATE_TASK_END... annotations around the selected source lines. Use this task region annotation within a parallel site with multiple tasks, either in a loop or not in a loop (such as task parallel function calls). Type a name as an argument to the task annotation.
-
Annotate Lock - Inserts a pair of
ANNOTATE_LOCK_ACQUIRE... and
ANNOTATE_LOCK_RELEASE...annotations around the selected source lines. Type an address, variable name, or a zero (0) as an argument to the lock annotation.
-
Insert Annotation Definitions Reference - Inserts the source line that includes the
Intel Advisor XE include file, such as
include "advisor-annotate.h" for C/C++ code,
use advisor_annotate for Fortran code or
using AdvisorAnnotate for C# code (on Windows OS systems). Before choosing this menu item, select the source location where you want to insert this line.
|