3.2. Data Structures
3.2.1. hm_device_info
struct hm_device_info {
uint32_t num_devices;
uint32_t device_ids;
};
-
struct hm_device_info
Structure that holds information about Houmo logical devices.
Public Members
-
uint32_t num_devices
The number of Houmo logical devices currently connected to the host.
-
uint32_t device_ids[64]
Array of logical IDs for each Houmo device.
-
uint32_t num_devices
3.2.2. hm_mem_info
struct hm_mem_info {
uint32_t mem_total;
uint32_t mem_used;
uint32_t mem_avail;
};
-
struct hm_mem_info
Structure that holds DDR memory information of a Houmo device.
Public Members
-
uint32_t mem_total
Total DDR memory of the Houmo logical device in MB.
-
uint32_t mem_used
DDR memory consumed by the Houmo logical device in MB.
-
uint32_t mem_avail
DDR memory available for the Houmo logical device in MB.
-
uint32_t mem_total