nvlink

package
v0.0.1-alpha2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SubSystem = "accelerator_nvidia_nvlink"

Variables

This section is empty.

Functions

func InitAveragers

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

func ReadCRCErrors

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

func ReadFeatureEnabled

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

func ReadRecoveryErrors

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

func ReadReplayErrors

func ReadReplayErrors(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 SetCRCErrors

func SetCRCErrors(ctx context.Context, gpuID string, errors uint64, currentTime time.Time) error

func SetFeatureEnabled

func SetFeatureEnabled(ctx context.Context, gpuID string, enabled bool, currentTime time.Time) error

func SetLastUpdateUnixSeconds

func SetLastUpdateUnixSeconds(unixSeconds float64)

func SetRecoveryErrors

func SetRecoveryErrors(ctx context.Context, gpuID string, errors uint64, currentTime time.Time) error

func SetReplayErrors

func SetReplayErrors(ctx context.Context, gpuID string, errors uint64, currentTime time.Time) error

func SetRxBytes

func SetRxBytes(ctx context.Context, gpuID string, bytes float64, currentTime time.Time) error

func SetTxBytes

func SetTxBytes(ctx context.Context, gpuID string, bytes 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