Including the Intel® ITT API Header in Your Application

Add the following  #include statements to every source file that you want to instrument:

#include <ittnotify.h>

The ittnotify.h header contains definitions of Intel® ITT API routines and important macros which provide the correct logic of API invocation from a user application.

NOTE

The ittnotify.h header defines many functions that are not covered in this document. However, Intel GPA supports only the functions that are documented herein.

The ITT API is designed to incur almost zero overhead when tracing is disabled. But if you need fully zero overhead, you can compile out all ITT API calls from your application by defining the INTEL_NO_ITTNOTIFY_API macro in your project at compile time, either on the compiler command line, or in your source file prior to including the ittnotify.h file.

Including the Intel® ITT API Header in Your Application