Documentation ¶
Index ¶
- func GetDeviceCount() (uint, error)
- func GetDriverVersion() (string, error)
- func Init() error
- func Shutdown() error
- type Clock
- type Device
- func (d *Device) Bar1Memory() (Memory, error)
- func (d *Device) Clock() (Clock, error)
- func (d *Device) ComputeMode() (string, error)
- func (d *Device) FanSpeed() (uint, error)
- func (d *Device) Memory() (Memory, error)
- func (d *Device) MinorName() (uint, error)
- func (d *Device) Name() (string, error)
- func (d *Device) PciInfo() (PciInfo, error)
- func (d *Device) PerformanceState() (string, error)
- func (d *Device) PowerState() (string, error)
- func (d *Device) PowerUsage() (uint, error)
- func (d *Device) RunningProcess() ([]Process, error)
- func (d *Device) Temperature() (uint, error)
- func (d *Device) TemperatureThreshold() (TemperatureThreshold, error)
- func (d *Device) UUID() (string, error)
- func (d *Device) UtilizationRates() (UtilizationRate, error)
- type Memory
- type PciInfo
- type Process
- type TemperatureThreshold
- type UtilizationRate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeviceCount ¶
func GetDriverVersion ¶
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func GetDeviceByIndex ¶
func (*Device) Bar1Memory ¶
func (*Device) ComputeMode ¶
func (*Device) PerformanceState ¶
func (*Device) PowerState ¶
func (*Device) PowerUsage ¶
func (*Device) RunningProcess ¶
func (*Device) Temperature ¶
func (*Device) TemperatureThreshold ¶
func (d *Device) TemperatureThreshold() (TemperatureThreshold, error)
func (*Device) UtilizationRates ¶
func (d *Device) UtilizationRates() (UtilizationRate, error)
type TemperatureThreshold ¶
type UtilizationRate ¶
Click to show internal directories.
Click to hide internal directories.