Tips for Annotation Use with C/C++ Programs
The following topics provide tips related to using annotations with C/C++ programs:
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.
- Depending on your particular environment, you may want to control the expansion of macros inadvisor-annotate.hby using theANNOTATE_EXPAND_NULLenvironment variable. See the help topic Controlling the Expansion of advisor-annotate.h.
- Tips for Windows* OS only:
- Because theadvisor-annotate.hheader file includeswindows.h, includingadvisor-annotate.hmay cause type and symbols conflicts, which result in unexpected compiler messages. See the help topic Handling Compilation Issues that Appear After Adding advisor-annotate.h.
- If you run into certain unexpected problems, you need to learn howadvisor-annotate.handlibittnotify.dllinteract. See the help topic advisor-annotate.h and libittnotify.dll.