Using event trace for throughput measurements requires that you compile the AI Engine
application using aiecompiler flag --event-trace=runtime
and run the
complete system in hardware using XRT
or XSDB
flow to
extract event trace.
once the trace data are extracted they can be visualized within
vitis_analyzer
. An example of trace data can be seen here:
You can position markers where you want to compute the data throughput. Marker can be precisely positioned on signal edges using icons and a new marker can be added with the icon at the exact position of the mobile marker.
Clicking on the flag of the fixed marker which is on the first frame edge will define it as the origin of time, and relative time is displayed on the time scale and at the bottom of all other markers:
Knowing the number of samples processed by each run of the kernel and the number of frames processed allows the user to compute the average throughput on this set of frames with the duration in between the first and last frame processing time.