To attach ITT APIs to a launched application, that is, to collect user API data on an application that is already launched, you need to launch the application with the ittnotify_collector library to the environment of the target application:

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

Note

The variables should contain the full path to the library without quotes.

Example

On Windows:

set INTEL_LIBITTNOTIFY32=C:\Program Files (x86)\Intel\VTune Amplifier\bin32\runtime\ittnotify_collector.dll 
set INTEL_LIBITTNOTIFY64=C:\Program Files (x86)\Intel\VTune Amplifier\bin64\runtime\ittnotify_collector.dll 

On Linux:

export INTEL_LIBITTNOTIFY32= /opt/intel/vtune_amplifier/lib32/runtime/libittnotify_collector.so
export INTEL_LIBITTNOTIFY64=/opt/intel/vtune_amplifier/lib64/runtime/libittnotify_collector.so

After you complete the configuration, you can start the instrumented application in the correct environment and Intel® VTune™ Amplifier will collect user API data even if the application was launched before the VTune Amplifier.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.
Seleccione el color del botón adhesivo: 
Orange (only for download buttons)