Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { Id int `json:"id"` Name string `json:"name"` Utilization int `json:"utilization"` MemoryUtilization Memory `json:"memory"` FanSpeed int `json:"fan_speed"` Temperature int `json:"temperature"` PowerUsage int `json:"power_usage"` Processes []Process }
func (*Device) GetDeviceName ¶
func (*Device) GetDevices ¶
func (*Device) GetFanSpeed ¶
func (*Device) GetGpuUtilization ¶
func (*Device) GetMemoryInfo ¶
func (*Device) GetPowerUsage ¶
type Node ¶
type Process ¶
type Process struct { Pid int UsedGpuMemory int64 Name string Username string RunTime uint64 ExtendedCommand string }
func (*Process) GetExtendedCommand ¶
func (*Process) GetGpuMemoryUsage ¶
func (*Process) GetProcesses ¶
func (*Process) GetRunUser ¶
func (*Process) GetRuntime ¶
Click to show internal directories.
Click to hide internal directories.