Profiling the Application - 2023.1 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
XD099
Release Date
2023-08-02
Version
2023.1 English

Vitis generates various system and kernel resource performance reports during compilation, XRT also collects profiling data during application execution in both software and hardware emulation and system run mode. A run summary report linked lots of reports from compilation and execution is automatically generated after running the active build, and can be viewed in Vitis Analyzer.

Profiling reports and data can be used to isolate performance bottlenecks in the application, identify problems in the system, and optimize the design to improve performance. To obtain profiling reports, make sure associated switches are turned on at the xrt.ini file, which should be placed at the same directory as the host executable file. We already delivered a working xrt.ini with this tutorial, you can check it under ./sw/build/ directory. For more details, refer to xrt.ini File from Vitis online documentation.

[Emulation]
debug_mode=batch

[Debug]
opencl_trace=true
device_trace=fine

Let’s take the Hardware Run result of rtc_alpha_tb on U200 card as an example. There are reports of 6 categories listed with run summary, waveform will not be available because this is a run summary from system run.

vitis_analyzer xrt.run_summary