Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAbsEnergyFromPlatform ¶
GetAbsEnergyFromPlatform returns the absolute energy, which is the sum of Idle + Dynamic energy.
func GetSourceName ¶
func GetSourceName() string
func InitPowerImpl ¶
func InitPowerImpl()
func IsSystemCollectionSupported ¶
func IsSystemCollectionSupported() bool
func SetIsSystemCollectionSupported ¶
func SetIsSystemCollectionSupported(enable bool)
SetIsSystemCollectionSupported is used to enable or disable the system power collection. This is used for testing purpose or to enable power estimation in system that has real-time power metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.