pcp

package
v0.0.0-...-23875d4 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RAPLUnits = math.Pow(2, -32)

Functions

func AverageClusterPowerHistory

func AverageClusterPowerHistory(history *ring.Ring) float64

TODO: Figure a way to merge this and avgpower.

func AverageNodePowerHistory

func AverageNodePowerHistory(history *ring.Ring) float64

func Start

func Start(quit chan struct{}, logging *bool, pcpConfigFile string)

Types

type Victim

type Victim struct {
	Watts float64
	Host  string
}

type VictimSorter

type VictimSorter []Victim

func (VictimSorter) Len

func (slice VictimSorter) Len() int

func (VictimSorter) Less

func (slice VictimSorter) Less(i, j int) bool

func (VictimSorter) Swap

func (slice VictimSorter) Swap(i, j int)

Jump to

Keyboard shortcuts

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