Documentation ¶
Overview ¶
Package temperature provides the NVIDIA temperature metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(db *sql.DB, tableName string)
- func ReadCurrentCelsius(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadSlowdownUsedPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadThresholdSlowdownCelsius(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error
- func SetCurrentCelsius(ctx context.Context, gpuID string, temp float64, currentTime time.Time) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
- func SetSlowdownUsedPercent(ctx context.Context, gpuID string, pct float64, currentTime time.Time) error
- func SetThresholdSlowdownCelsius(ctx context.Context, gpuID string, temp float64, currentTime time.Time) error
Constants ¶
View Source
const SubSystem = "accelerator_nvidia_temperature"
Variables ¶
This section is empty.
Functions ¶
func InitAveragers ¶
func ReadCurrentCelsius ¶
func SetCurrentCelsius ¶
func SetLastUpdateUnixSeconds ¶
func SetLastUpdateUnixSeconds(unixSeconds float64)
func SetSlowdownUsedPercent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.