Property CurrentProcessGpuUtilizationPercent
CurrentProcessGpuUtilizationPercent
GPU compute (SM) utilization attributable to the current OS process on this device, 0-100. The per-process counterpart of GpuUtilizationPercent (which is device-wide).
public int CurrentProcessGpuUtilizationPercent { get; }
Property Value
Remarks
Averaged over the most recent NVML sampling window on CUDA backends, or over the interval between the last two samples of the OS counters otherwise (Windows GPU Engine per-process instances, Linux DRM fdinfo engine time). Returns -1 when it cannot be obtained: no GPU activity in the window, insufficient permissions, WSL2 / GRID where nvmlDeviceGetProcessUtilization is unsupported, a host whose interfaces expose neither, or a multi-GPU host, where a reading cannot be attributed to one device.