nvidia

package
v0.9.166 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGpuWithConfig

func NewGpuWithConfig(config InternalInflux.Config) DaoGpu.GpuDAO

func NewMetricWithConfig

func NewMetricWithConfig(config InternalInflux.Config) DaoGpu.MetricsDAO

func NewPredictionWithConfig

func NewPredictionWithConfig(config InternalInflux.Config) DaoGpu.PredictionsDAO

Types

type Gpu

type Gpu struct {
	InfluxDBConfig InternalInflux.Config
}

func (Gpu) ListGpus

func (p Gpu) ListGpus(host, minorNumber string, condition *DBCommon.QueryCondition) ([]*DaoGpu.Gpu, error)

type Metric

type Metric struct {
	InfluxDBConfig InternalInflux.Config
}

func (Metric) ListMetrics

func (p Metric) ListMetrics(host, minorNumber string, metricTypes []FormatEnum.MetricType, condition *DBCommon.QueryCondition) (DaoGpu.GpuMetricMap, error)

type Prediction

type Prediction struct {
	InfluxDBConfig InternalInflux.Config
}

func (Prediction) CreatePredictions

func (p Prediction) CreatePredictions(predictions DaoGpu.GpuPredictionMap) error

func (Prediction) ListPredictions

func (p Prediction) ListPredictions(host, minorNumber, modelId, predictionId, granularity string, condition *DBCommon.QueryCondition) (DaoGpu.GpuPredictionMap, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL