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*:


On Linux*:



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


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/
export INTEL_LIBITTNOTIFY64=/opt/intel/vtune_amplifier/lib64/runtime/

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 obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.
Selecione a cor do botão adesivo: 
Orange (only for download buttons)