levelzeroservice

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceHealth

type DeviceHealth struct {
	Memory bool
	Bus    bool
	SoC    bool
}

type DeviceTemperature

type DeviceTemperature struct {
	Global int
	GPU    int
	Memory int
}

type LevelzeroService

type LevelzeroService interface {
	Run(bool)
	GetIntelIndices() ([]uint32, error)
	GetDeviceHealth(bdfAddress string) (DeviceHealth, error)
	GetDeviceTemperature(bdfAddress string) (DeviceTemperature, error)
	GetDeviceMemoryAmount(bdfAddress string) (uint64, error)
}

func NewLevelzero

func NewLevelzero(socket string) LevelzeroService

Jump to

Keyboard shortcuts

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