Documentation
¶
Index ¶
Constants ¶
View Source
const (
DCGM_ST_NOT_CONFIGURED = "Setting not configured"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceWatcher ¶
type DeviceWatcher struct{}
func NewDeviceWatcher ¶
func NewDeviceWatcher() *DeviceWatcher
func (*DeviceWatcher) GetDeviceFields ¶
func (d *DeviceWatcher) GetDeviceFields(counters []counters.Counter, entityType dcgm.Field_Entity_Group) []dcgm.Short
func (*DeviceWatcher) WatchDeviceFields ¶
func (d *DeviceWatcher) WatchDeviceFields( deviceFields []dcgm.Short, deviceInfo deviceinfo.Provider, updateFreqInUsec int64, ) ([]dcgm.GroupHandle, dcgm.FieldHandle, []func(), error)
type Watcher ¶
type Watcher interface { GetDeviceFields([]counters.Counter, dcgm.Field_Entity_Group) []dcgm.Short WatchDeviceFields([]dcgm.Short, deviceinfo.Provider, int64) ([]dcgm.GroupHandle, dcgm.FieldHandle, []func(), error) }
Click to show internal directories.
Click to hide internal directories.