gpm

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Overview

Package gpm provides the NVIDIA GPM metrics collection and reporting.

Index

Constants

View Source
const SubSystem = "accelerator_nvidia_gpm"

Variables

This section is empty.

Functions

func InitAveragers

func InitAveragers(db *sql.DB, tableName string)

func ReadGPUAnyTensorUtilPercents added in v0.1.0

func ReadGPUAnyTensorUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUDFMATensorUtilPercents added in v0.1.0

func ReadGPUDFMATensorUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUFp16UtilPercents added in v0.1.0

func ReadGPUFp16UtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUFp32UtilPercents added in v0.1.0

func ReadGPUFp32UtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUFp64UtilPercents added in v0.1.0

func ReadGPUFp64UtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUHMMATensorUtilPercents added in v0.1.0

func ReadGPUHMMATensorUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUIMMATensorUtilPercents added in v0.1.0

func ReadGPUIMMATensorUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUIntUtilPercents added in v0.1.0

func ReadGPUIntUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadGPUSMOccupancyPercents

func ReadGPUSMOccupancyPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func Register

func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error

func SetGPUUtilPercent added in v0.1.0

func SetGPUUtilPercent(ctx context.Context, metricID nvml.GpmMetricId, gpuID string, pct float64, currentTime time.Time) error

func SetLastUpdateUnixSeconds

func SetLastUpdateUnixSeconds(unixSeconds float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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