Setting Up the Software for Profiling - 2021.2 English

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

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 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