collect

package
v0.0.0-...-8357b5a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectPowerMetricsWithNoWorkload

func CollectPowerMetricsWithNoWorkload(duration, interval time.Duration, tag string) (map[string]string, error)

CollectPowerMetricsWithNoWorkload collects metrics with no workload.

func CollectPowerMetricsWithSteadyWorkload

func CollectPowerMetricsWithSteadyWorkload(
	duration, interval time.Duration, tag string, perfProfile *nto.Builder, nodeName string) (map[string]string, error)

CollectPowerMetricsWithSteadyWorkload collects power metrics with steady workload scenario.

func GetPowerState

func GetPowerState(perfProfile *nto.Builder) (string, error)

GetPowerState determines the power state from the workloadHints object of the PerformanceProfile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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