gpu

package
v0.0.0-...-ac54aa7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gpu provides the GPU monitoring functionality.

Index

Constants

View Source
const GPUConfigNS = "gpu_monitoring"

GPUConfigNS is the namespace for the GPU monitoring probe.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*ebpf.Config
	ScanTerminatedProcessesInterval time.Duration
	InitialProcessSync              bool
}

Config holds the configuration for the GPU monitoring probe.

func NewConfig

func NewConfig() *Config

NewConfig generates a new configuration for the GPU monitoring probe.

type Probe

type Probe struct{}

Probe is not implemented on non-linux systems

func NewProbe

func NewProbe(_ *Config, _ telemetry.Component) (*Probe, error)

NewProbe is not implemented on non-linux systems

func (*Probe) Close

func (t *Probe) Close()

Close is not implemented on non-linux systems

func (*Probe) GetAndFlush

func (t *Probe) GetAndFlush() (model.GPUStats, error)

GetAndFlush is not implemented on non-linux systems

Directories

Path Synopsis
Package testutil contains helpers to build sample C binaries for testing.
Package testutil contains helpers to build sample C binaries for testing.

Jump to

Keyboard shortcuts

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