Setting Up the Software for Profiling - 2022.1 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2022-04-26
Version
2022.1 English
There are three important steps involved in setting up the software application for profiling:
  1. Enable profiling in the Software Platform to include profiling libraries.
    Note: Profiling is supported only for standalone software platforms.
    1. Add -pg to the extra compiler flags to build the domain with profiling.

    2. Set enable_sw_intrusive_profiling to true in the Board Support Package Settings view.

  2. Enable profiling in application C/C++ build settings from C/C++ Build > Settings > Profiling