ecc

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package ecc provides the NVIDIA ECC metrics collection and reporting.

Index

Constants

View Source
const SubSystem = "accelerator_nvidia_ecc"

Variables

This section is empty.

Functions

func InitAveragers

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

func ReadAggregateTotalCorrected

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

func ReadAggregateTotalUncorrected

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

func ReadVolatileTotalCorrected

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

func ReadVolatileTotalUncorrected

func ReadVolatileTotalUncorrected(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 SetAggregateTotalCorrected

func SetAggregateTotalCorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error

func SetAggregateTotalUncorrected

func SetAggregateTotalUncorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error

func SetLastUpdateUnixSeconds

func SetLastUpdateUnixSeconds(unixSeconds float64)

func SetVolatileTotalCorrected

func SetVolatileTotalCorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error

func SetVolatileTotalUncorrected

func SetVolatileTotalUncorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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