Intel® Advisor User Guide

ID 766448
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.