User Guide

Contents

Attaching ITT APIs to a Launched Application

You can use the
Intel® VTune™
Profiler
to attach to a running application instrumented with ITT API. But before launching the application, make sure to set up the following environment variable for the
ittnotify_collector
:
On Windows*:
INTEL_LIBITTNOTIFY32=<
install-dir
>\bin32\runtime\ittnotify_collector.dll
INTEL_LIBITTNOTIFY64=<
install-dir
>\bin64\runtime\ittnotify_collector.dll
On Linux*:
INTEL_LIBITTNOTIFY32=<
install-dir
>/lib32/runtime/libittnotify_collector.so
INTEL_LIBITTNOTIFY64=<
install-dir
>/lib64/runtime/libittnotify_collector.so
The variables should contain the full path to the library without quotes.

Example

On Windows:
set INTEL_LIBITTNOTIFY32=C:\Program Files (x86)\IntelSWTools\VTune
Profiler
2020\bin32\runtime\ittnotify_collector.dll set INTEL_LIBITTNOTIFY64=C:\Program Files (x86)\IntelSWTools\VTune
Profiler
2020\bin64\runtime\ittnotify_collector.dll
On Linux:
export INTEL_LIBITTNOTIFY32=opt/intel/vtune_
profiler
/lib32/runtime/libittnotify_collector.so export INTEL_LIBITTNOTIFY64=/opt/intel/vtune_
profiler
/lib64/runtime/libittnotify_collector.so
After you complete the configuration, you can start the instrumented application in the correct environment and
Intel® VTune™
Profiler
will collect user API data even if the application was launched before the
VTune
Profiler
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804