Check whether there is an interface for obtaining the GPU usage based on the PID process.
djsxianglei opened this issue · comments
djsxianglei commented
djsxianglei commented
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?