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: