NVIDIA / go-nvml

Go Bindings for the NVIDIA Management Library (NVML)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check whether there is an interface for obtaining the GPU usage based on the PID process.

djsxianglei opened this issue · comments

func (Device Device) GetProcessUtilization(LastSeenTimeStamp uint64) ([]ProcessUtilizationSample, Return) { return DeviceGetProcessUtilization(Device, LastSeenTimeStamp) }
type ProcessUtilizationSample struct { Pid uint32 TimeStamp uint64 SmUtil uint32 MemUtil uint32 EncUtil uint32 DecUtil uint32 }
What do SmUtil and MemUtil mean? Is it gpu until?