processes

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package processes tracks the NVIDIA per-GPU processes.

Index

Constants

View Source
const Name = "accelerator-nvidia-processes"

Variables

This section is empty.

Functions

Types

type Data added in v0.4.5

type Data struct {
	Processes []nvidia_query_nvml.Processes `json:"processes"`
}

func ToOutput

func ToOutput(i *nvidia_query.Output) *Data

ToOutput converts nvidia_query.Output to Output. It returns an empty non-nil object, if the input or the required field is nil (e.g., i.SMI).

func (*Data) States added in v0.4.5

func (d *Data) States() ([]components.State, error)

Jump to

Keyboard shortcuts

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