Monitoring GPU usage at regular interval programmatically
I am developing an application in GX-424CC based platform. We are utilizing the underlying GPU. I want to measure total GPU utilization at regular interval. I have already added some code to measure CPU utilization by reading the /proc/<pid>/stat. How can I monitor GPU utilization? Is there any API in C or OpenCL that can do the job?