Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) DeviceCount ¶
type ProcInfo ¶
ProcInfo mirrors the relevant fields of NVML's nvmlProcessInfo_t: the PID of a process using the device and the device memory it holds. A backend that cannot enumerate processes (missing _v3 symbol or NOT_SUPPORTED) returns an empty slice with no error so per-process usage stays best-effort.
Click to show internal directories.
Click to hide internal directories.