Documentation ¶
Overview ¶
Package utilization provides the NVIDIA GPU utilization metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(db *sql.DB, tableName string)
- func ReadGPUUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func ReadMemoryUtilPercents(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error
- func SetGPUUtilPercent(ctx context.Context, gpuID string, pct uint32, currentTime time.Time) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
- func SetMemoryUtilPercent(ctx context.Context, gpuID string, pct uint32, currentTime time.Time) error
Constants ¶
View Source
const SubSystem = "accelerator_nvidia_utilization"
Variables ¶
This section is empty.
Functions ¶
func InitAveragers ¶
func ReadGPUUtilPercents ¶
func ReadMemoryUtilPercents ¶
func SetGPUUtilPercent ¶
func SetLastUpdateUnixSeconds ¶
func SetLastUpdateUnixSeconds(unixSeconds float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.