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 GetDeviceArmOsMemory(idx uint) (int64, int64, error) GetDeviceClusterCount(idx uint) (int, error) GetDeviceCoreNum(idx uint) (uint, error) GetDeviceCount() (uint, error) GetDeviceCPUUtil(idx uint) (uint16, []uint8, error) GetDeviceCRCInfo(idx uint) (uint64, uint64, error) GetDeviceCurrentPCIeInfo(idx uint) (int, int, error) GetDeviceDDRInfo(idx uint) (int, float64, error) GetDeviceECCInfo(idx uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, error) GetDeviceFanSpeed(idx uint) (int, error) GetDeviceHealth(idx uint) (int, error) GetDeviceImageCodecUtil(idx uint) ([]int, error) GetDeviceMemory(idx uint) (int64, int64, int64, int64, error) GetDeviceMLULinkCapability(idx, link uint) (uint, uint, error) GetDeviceMLULinkCounter(idx, link uint) (uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, uint64, error) GetDeviceMLULinkPortMode(idx, link uint) (int, error) GetDeviceMLULinkPortNumber(idx uint) int GetDeviceMLULinkSpeedInfo(idx, link uint) (float32, int, error) GetDeviceMLULinkStatus(idx, link uint) (int, int, error) GetDeviceMLULinkVersion(idx, link uint) (uint, uint, uint, error) GetDeviceModel(idx uint) string GetDeviceNUMANodeID(idx uint) (int, error) GetDevicePCIeInfo(idx uint) (int, uint, uint, uint16, uint16, uint, uint, uint, uint, error) GetDevicePower(idx uint) (int, error) GetDeviceProcessUtil(idx uint) ([]uint32, []uint32, []uint32, []uint32, []uint32, []uint32, error) GetDeviceSN(idx uint) (string, error) GetDeviceTemperature(idx uint) (int, []int, error) GetDeviceTinyCoreUtil(idx uint) ([]int, error) GetDeviceUtil(idx uint) (int, []int, error) GetDeviceUUID(idx uint) (string, error) GetDeviceVersion(idx uint) (uint, uint, uint, uint, uint, uint, error) GetDeviceVfState(idx uint) (int, error) GetDeviceVideoCodecUtil(idx uint) ([]int, error) }
func NewCndevClient ¶
func NewCndevClient() Cndev
Click to show internal directories.
Click to hide internal directories.