Documentation ¶
Overview ¶
Package gpm provides the NVIDIA GPM metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(db *sql.DB, tableName string)
- func ReadGPUSMOccupancyPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error
- func SetGPUSMOccupancyPercent(ctx context.Context, gpuID string, pct float64, currentTime time.Time) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
Constants ¶
View Source
const SubSystem = "accelerator_nvidia_gpm"
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.