components

package
v0.7.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAbsEnergyFromCore

func GetAbsEnergyFromCore() (uint64, error)

func GetAbsEnergyFromDram

func GetAbsEnergyFromDram() (uint64, error)

func GetAbsEnergyFromNodeComponents

func GetAbsEnergyFromNodeComponents() map[int]source.NodeComponentsEnergy

func GetAbsEnergyFromPackage

func GetAbsEnergyFromPackage() (uint64, error)

func GetAbsEnergyFromUncore

func GetAbsEnergyFromUncore() (uint64, error)

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.

func StopPower

func StopPower()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL