Intel® Advisor User Guide

ID 766448
Date 10/31/2024
Public
Document Table of Contents

Building an Application for Trace Collection

To build an application enabled for trace collection:

  1. Define the TBB_USE_THREADING_TOOLS macro and link against the tbb library. This macro activates the required instrumentations in the flow_graph.h header. The Intel® oneAPI Threading Building Blocks (oneTBB) library supports flow graph and algorithm profiling. All features other than set_name extensions are available as non-preview features.

  2. Compile using oneTBB.

Refer to the OS-specific topics for instructions on how to build an application depending on your operating system.