gpu

package
v1.300028.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKey       = "nvidia_gpu"
	SectionMappedKey = "nvidia_smi"
)

SectionKey metrics name in user config to opt in Nvidia GPU metrics

Variables

View Source
var ChildRule = map[string]translator.Rule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r translator.Rule)

Types

type NvidiaSmi

type NvidiaSmi struct {
}

func (*NvidiaSmi) ApplyRule

func (n *NvidiaSmi) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

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