Documentation ¶
Overview ¶
Package ecc provides the NVIDIA ECC metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(db *sql.DB, tableName string)
- func ReadAggregateTotalCorrected(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadAggregateTotalUncorrected(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadVolatileTotalCorrected(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadVolatileTotalUncorrected(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error
- func SetAggregateTotalCorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error
- func SetAggregateTotalUncorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
- func SetVolatileTotalCorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error
- func SetVolatileTotalUncorrected(ctx context.Context, gpuID string, cnt float64, currentTime time.Time) error
Constants ¶
View Source
const SubSystem = "accelerator_nvidia_ecc"
Variables ¶
This section is empty.
Functions ¶
func InitAveragers ¶
func SetLastUpdateUnixSeconds ¶
func SetLastUpdateUnixSeconds(unixSeconds float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.