Building an Application for Trace Collection
To build an application enabled for trace collection:
- Define theTBB_USE_THREADING_TOOLSmacro and link against thetbblibrary. This macro activates the required instrumentations in theflow_graph.hheader. TheIntel® oneAPI Threading Building Blocks(oneTBB) library supports flow graph and algorithm profiling. All features other thanset_nameextensions are available as non-preview features.
- Compile usingoneTBB.
Refer to the OS-specific topics for instructions on how to build an application depending on your operating system.