Profiling for Interface Tiles - 2022.2 English

AI Engine Tools and Flows User Guide (UG1076)

Document ID
UG1076
Release Date
2022-10-19
Version
2022.2 English

The following tables list the pre-defined metric set configurations available for interface tiles. In the xrt.ini file all of these metric names should be in lower case and assigned to the metric selector aie_profile_interface_metrics.

All these metric sets are targeted to a single channel in each PLIO which is specified just after the metric set. For example, aie_profile_interface_metrics=input_bandwidths:2 will profile all the channels number 2 which are used in all the input PLIOs.

Table 1. input_bandwidths
Metric Name Event ID Description
PLIO channel transfer time 75 Time the PLIO channel spent transferring data.
PLIO channel stalls time 76 Time the PLIO channel spent in stall state: consumer (AI Engine array) is unable to accept new data, producer (PL) is willing to send new data.
PLIO channel idle time Derived Time the PLIO channel spent in idle state: consumer (AI Engine array) is ready, producer (PL) is idle.
PLIO channel bandwidth Derived Bandwidth used by PLIO.

These values are referring to a specific input channel of the PLIOs (PL to AI Engine) among the 8 available (0 to 7).

Table 2. output_bandwidths
Metric Name Event ID Description
PLIO channel transfer time 75 Time the PLIO channel spent transferring data.
PLIO channel stalls time 76 Time the PLIO channel spent in stall state: consumer (PL) is unable to accept new data, producer (AI Engine) is willing to send new data.
PLIO channel idle time Derived Time the PLIO channel spent in idle state: consumer (PL) is ready, producer (AI Engine) is idle.
PLIO channel bandwidth Derived Bandwidth used by PLIO.

These values are referring to a specific output channel of the PLIOs (AI Engine to PL) among the 6 available (0 to 5).

Table 3. packets
Metric Name Event ID Description
TLAST event count on port 0 77 Reports the number of input packets
TLAST event count on port 1 81 Reports the number of output packets

These values are referring to a specific input channel of all the PLIOs (PL to AI Engine) among the 8 available (0 to 7).