How to programmatically query iGPU load?

I’m using Jetpack 5.0.2 on Jetson AGX Orin Devkit. I need to collect GPU load / utilisation from a C program. On Jetson, I know I can use tegrastats from the terminal, or the built-in GUI. But is there a way to collect similar info programmatically in a C program?

In C code, please read this device node:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.