Documentation ¶
Index ¶
- func GetAbsEnergyFromCore() (uint64, error)
- func GetAbsEnergyFromDram() (uint64, error)
- func GetAbsEnergyFromNodeComponents() map[int]source.NodeComponentsEnergy
- func GetAbsEnergyFromPackage() (uint64, error)
- func GetAbsEnergyFromUncore() (uint64, error)
- func GetSourceName() string
- func InitPowerImpl()
- func IsSystemCollectionSupported() bool
- func SetIsSystemCollectionSupported(enable bool)
- func StopPower()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAbsEnergyFromCore ¶
func GetAbsEnergyFromDram ¶
func GetAbsEnergyFromNodeComponents ¶
func GetAbsEnergyFromNodeComponents() map[int]source.NodeComponentsEnergy
func GetAbsEnergyFromPackage ¶
func GetAbsEnergyFromUncore ¶
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.