Documentation ¶
Index ¶
- func Active() bool
- func EngineClock(busNumber int) int
- func EngineSetClock(busNumber int, value int) error
- func FanPercent(busNumber int) float64
- func FanSetPercent(busNumber int, fanPercent uint32) error
- func MemoryClock(busNumber int) int
- func MemorySetClock(busNumber int, value int) error
- func Name(busNumber int) string
- func Release()
- func Temperature(busNumber int) float64
- type PCI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EngineClock ¶
EngineClock fetches and returns engine clock for a device bus number
func EngineSetClock ¶
EngineSetClock set engine clock for a device bus number
func FanPercent ¶
FanPercent fetches and returns fan utilization for a device bus number
func FanSetPercent ¶
FanSetPercent sets the fan to a percent value for a device bus number and returns the ADL return value
func MemoryClock ¶
MemoryClock fetches and returns memory clock for a device bus number
func MemorySetClock ¶
MemorySetClock set engine clock for a device bus number
func Temperature ¶
Temperature fetches and returns temperature for a device bus number
Types ¶
type PCI ¶
type PCI struct {
// contains filtered or unexported fields
}
PCI from sys linux
func (*PCI) FanSetPercent ¶
FanSetPercent on sys
Click to show internal directories.
Click to hide internal directories.