type.h File Reference

type.h File Reference#

mbltml: type.h File Reference
mbltml Test Preview
mbltml — EN
type.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

struct  mbltmlCoreId_t
 Composite identifier of an NPU core (cluster + core). More...
struct  mbltmlCoreInfo_t
 Per-core usage record returned by mbltmlGetCoreInfos(). More...
struct  mbltmlProcessInfo_t
 Per-process usage record returned by mbltmlGetProcessInfos(). More...

Enumerations

enum  mbltmlDeviceType_t {
  MBLTML_DEVICE_ERROR = 0x0 ,
  MBLTML_DEVICE_ARIES = 0x1 ,
  MBLTML_DEVICE_REGULUS = 0x2 ,
  MBLTML_DEVICE_REGULUS_USB = 0x4
}
 Identifier of a Mobilint NPU device family. More...
enum  mbltmlHardwareVersion_t {
  MBLTML_HARDWARE_VERSION_ARIES = 0x0000'0001 ,
  MBLTML_HARDWARE_VERSION_REGULUS = 0x0000'0002 ,
  MBLTML_HARDWARE_VERSION_ARIES2 = 0x0000'0003 ,
  MBLTML_HARDWARE_VERSION_REGULUS2 = 0x0000'0004 ,
  MBLTML_HARDWARE_VERSION_ERROR = 0x7FFF'FFFF
}
 Specific hardware revision of a Mobilint NPU. More...
enum  mbltmlStatusCode_t {
  MBLTML_SUCCESS = 0 ,
  MBLTML_UNINITIALIZED = 1 ,
  MBLTML_DRIVER_NOT_FOUND = 2 ,
  MBLTML_INVALID_ARGUMENT = 3 ,
  MBLTML_NOT_SUPPORTED = 4 ,
  MBLTML_INSUFFICIENT_LENGTH = 5
}
 Status code returned by mbltml APIs. More...
enum  mbltmlExtraPmicId_t {
  MBLTML_EXTRA_PMIC_ID_NPU = 0 ,
  MBLTML_EXTRA_PMIC_ID_DDR = 1 ,
  MBLTML_EXTRA_PMIC_ID_PMIC = 2 ,
  MBLTML_EXTRA_PMIC_ID_GOLDFINGER = 3
}
 Identifier of an extra PMIC rail. More...
enum  mbltmlCluster_t {
  MBLTML_CLUSTER_0 = 1 << 16 ,
  MBLTML_CLUSTER_1 = 2 << 16 ,
  MBLTML_CLUSTER_ERROR = 0x7FFF'0000
}
 NPU cluster identifier within a device. More...
enum  mbltmlCore_t {
  MBLTML_CORE_0 = 1 ,
  MBLTML_CORE_1 = 2 ,
  MBLTML_CORE_2 = 3 ,
  MBLTML_CORE_3 = 4 ,
  MBLTML_CORE_GLOBAL = 0x0000'FFFE ,
  MBLTML_CORE_ERROR = 0x0000'FFFF
}
 NPU core identifier within a cluster. More...