How can I get usage of SM cores?

Hi, I am using Jetson AGX Xavier.

I know there is way to get utilization of GPU with tegrastats.

However, it measures percent of time over the past sample period during which one or more kernels was executing on the GPU.

I’d like to know How many SM cores are using.

Is there anyway to get this information?


We don’t have such low-level profiling tool.
But you can calculate on your own.

For example, 80% GPU usage on Xavier = 80% * 512 CUDA Cores ≈ 400 cores.