How to get GPU Usage statistics

I am running a never ending code-loop based on opencv for tegra. I want to know how much of the GPU is being used. What tool should I use ?

nvprof and visual profiler can’t help because there is no exit code.

Hi mdotali, this was recently discussed in the TX1 forums (the short answer is to use the “tegrastats” command), see: https://devtalk.nvidia.com/default/topic/928386/jetson-tx1/gpu-usage-monitoring-on-tx1/post/4848792/#4848792