cndev

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cndev

type Cndev interface {
	Init() error
	Release() error
	GetDeviceCount() (uint, error)
	GetDeviceSN(idx uint) (string, error)
	GetDeviceModel(idx uint) string
	GetDeviceClusterCount(idx uint) (uint, error)
	GetDeviceTemperature(idx uint) (uint, []uint, error)
	GetDeviceHealth(idx uint) (uint, error)
	GetDeviceMemory(idx uint) (uint, uint, error)
	GetDevicePower(idx uint) (uint, error)
	GetDeviceCoreNum(idx uint) (uint, error)
	GetDeviceUtil(idx uint) (uint, []uint, error)
	GetDeviceFanSpeed(idx uint) (uint, error)
	GetDevicePCIeID(idx uint) (string, error)
	GetDeviceVersion(idx uint) (string, string, error)
}

func NewCndevClient

func NewCndevClient() Cndev

Jump to

Keyboard shortcuts

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