...
The Xilinx xrt driver allows to measure power using a standalone command line tool. The specific tool invocation and output format depends on the xrt version (module xilinx/xrt and configuration constraint xilinx_u280_xrt...
).
We recommend to run kernels for at least ~1s and automatically perform repeated invocations to the command line tool concurrently in order to get reasonably accurate results. Further effects of increased power consumption due to thermal effects can be observed after multiple minutes of load on the cards, but are comparably minor.
Usage example and sample output for xrt 2.12, after selecting the first card. During this example, the card is idle and configured with the validation bitstream. Total card power in line 17.
...
This tool currently requires special permissions. You can request those via email to pc2-support@uni-paderborn.de.
We recommend to run kernels for at least ~1s and automatically perform repeated invocations to the command line tool concurrently in order to get reasonably accurate results. Further effects of increased power consumption due to thermal effects can be observed after multiple minutes of load on the cards, but are comparably minor.
...