stat

package
v0.0.0-...-7631e6e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGPUStat

func GetGPUStat() (float64, error)

Types

type GPU

type GPU struct {
	GpuUsePercentage string `json:"GPU use (%)"`
}

type NvidiaSMI

type NvidiaSMI struct {
	BinPath string
}

func (*NvidiaSMI) Gather

func (smi *NvidiaSMI) Gather() ([]float64, error)

func (*NvidiaSMI) Start

func (smi *NvidiaSMI) Start() error

type ROCmSMI

type ROCmSMI struct {
	BinPath string
}

func (*ROCmSMI) Gather

func (rsmi *ROCmSMI) Gather() ([]float64, error)

func (*ROCmSMI) Start

func (rsmi *ROCmSMI) Start() error

Jump to

Keyboard shortcuts

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