How to measure power consumption of OpenCL kernels running on Arria10GX Dev Kit?
Hi, everyone
I am developing an accelerator kernel using OpenCL along with Arria 10GX Dev Kit board. I need to measure power consumption of the board while my kernels are running. So far, the only online measuring tool I've found for Dev Kit was the BTS power monitor. However, in order to use the BTS tool I must first load the BTS sof on the board, overwriting the kernel design, which is not what I need.
My question is:
Is there any method to access the board monitoring sensors that is not through the BTS design? I was expecting some way of accessing the board sensors through JTAG so that I could monitor the power consumption during the kernel execution.
Navigating through the BTS source code, I've noticed:
1 - There is an ltc2990 sensor for reading voltage and current values on the board.
2 - BTS Power Monitor Software reads/writes this sensor through I2C (Addr 78).
If there are no official methods to measure power consumption of the kernel, I wonder if the sensors I2C pins can be accessed externally, so I could read then with a microcontroller or raspberrypi.
Thank you for any help