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 InitPowerImpl()
- func IsSystemCollectionSupported() bool
- func SetIsSystemCollectionSupported(enable bool)
- func StopPower()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAbsEnergyFromCore ¶ added in v0.5.4
func GetAbsEnergyFromDram ¶ added in v0.5.4
func GetAbsEnergyFromNodeComponents ¶ added in v0.5.4
func GetAbsEnergyFromNodeComponents() map[int]source.NodeComponentsEnergy
func GetAbsEnergyFromPackage ¶ added in v0.5.4
func GetAbsEnergyFromUncore ¶ added in v0.5.4
func InitPowerImpl ¶
func InitPowerImpl()
func IsSystemCollectionSupported ¶
func IsSystemCollectionSupported() bool
func SetIsSystemCollectionSupported ¶ added in v0.5.4
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.