Using event trace for throughput measurements requires that you compile the AI Engine application using AI Engine compiler option
--event-trace=runtime. Then run the complete system
in hardware using the XRT or XSDB flow to extract event trace.
You can visualize the trace data after extraction within vitis -a. An example of trace data is as follows:
You can position markers where you want to compute the data throughput. Use
icons to precisely position on signal edges. Use icon
to add a new marker at the exact position of the mobile marker.
Click the flag of the fixed marker which is on the first frame edge to define it as the origin time. Relative time is shown on the time scale and at the bottom of all other markers:
Using the number of samples per kernel run and the number of frames processed, you can calculate average throughput over the first-to-last frame duration.