source

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device added in v0.7.9

type Device struct {
	HabanaDeviceHandler interface{}
	NVMLDeviceHandler   interface{}
	GPUID               int // GPU Entity ID  or Parent GPU ID if MIG slice
	IsMig               bool
	ParentGpuID         int     // GPU Entity ID  or Parent GPU ID if MIG slice
	MIGSMRatio          float64 // Ratio of MIG SMs / Total GPU SMs to be used to normalize the MIG metrics
}

Device can hold nvml GPU or MIG slice handler

type ProcessUtilizationSample

type ProcessUtilizationSample struct {
	Pid         uint32
	TimeStamp   uint64
	ComputeUtil uint32
	MemUtil     uint32
	EncUtil     uint32
	DecUtil     uint32
}

Jump to

Keyboard shortcuts

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