source

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceUtilizationSample

type DeviceUtilizationSample struct {
	SampleCnt   uint64
	PciTransCnt uint64
	Latency     uint64
	BwIn        uint64
	BwOut       uint64
	CprUtil     uint64
	DcprUtil    uint64
	XltUtil     uint64
	CphUtil     uint64
	AthUtil     uint64
}

type QATTelemetry

type QATTelemetry struct {
	// contains filtered or unexported fields
}

func (*QATTelemetry) GetQATUtilization

func (q *QATTelemetry) GetQATUtilization(devices map[string]interface{}) (map[string]DeviceUtilizationSample, error)

GetQATUtilization returns a map of ProcessUtilizationSample where the key is the qat device id

func (*QATTelemetry) GetQATs

func (q *QATTelemetry) GetQATs() map[string]interface{}

GetQats returns a map with qat devices

func (*QATTelemetry) Init

func (q *QATTelemetry) Init() (err error)

Init initizalize and start the QAT metric collector

func (*QATTelemetry) IsQATCollectionSupported

func (q *QATTelemetry) IsQATCollectionSupported() bool

func (*QATTelemetry) SetQATCollectionSupported

func (q *QATTelemetry) SetQATCollectionSupported(supported bool)

func (*QATTelemetry) Shutdown

func (q *QATTelemetry) Shutdown() bool

Shutdown stops the qat metric collector

Jump to

Keyboard shortcuts

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