Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACPI ¶
type ACPI struct {
// contains filtered or unexported fields
}
Advanced Configuration and Power Interface (APCI) makes the system hardware sensor status information available to the operating system via hwmon in sysfs.
func NewACPIPowerMeter ¶
func NewACPIPowerMeter() *ACPI
func (*ACPI) GetCPUCoreFrequency ¶
func (*ACPI) GetEnergyFromHost ¶
GetEnergyFromHost returns the accumulated energy consumption and reset the counter
func (*ACPI) IsPowerSupported ¶
Click to show internal directories.
Click to hide internal directories.