To generate the Application Timeline report, you must complete the following steps to enable timeline and device trace data collection in the command line flow:
- Instrument the FPGA binary during linking, by adding
Acceleration Monitors and AXI Performance Monitors to kernels using the
v++ --profileoption as described in --profile Options. As an example, add--profile.datato thev++linking command line:v++ -g -l --profile.data all:all:all ... - After the kernels are instrumented during the build process, data
gathering must also be enabled during the runtime execution of the application
by editing the xrt.ini file. Refer to
xrt.ini File for more information.
The following xrt.ini file will enable maximum information gathering when the application is run:
[Debug] profile=true timeline_trace=true data_transfer_trace=coarse stall_trace=allTip: If you are collecting a large amount of trace data, you might need to use the--trace_memorywith the v++ command, and thetrace_buffer_sizekeyword in the xrt.ini.After running the application, the Application Timeline data is captured in a CSV file called timeline_trace.csv.
- The CSV report can be viewed in the Vitis analyzer tool by opening the Run Summary produced during the
application execution. You can launch the Vitis analyzer and open the Run Summary using the following
command:
vitis_analyzer <project>.run_summary