Structure used to fetch historical data points about various aspects of the device. More...
#include <iodimm_types.h>
Data Fields | |
uint32_t | lib_version |
fio_iodimm_history_type_t | entrytype |
uint32_t | size_entries |
int64_t | begin_timestamp |
int64_t | end_timestamp |
uint32_t | num_entries |
int64_t | first_timestamp |
int64_t | last_timestamp |
uint32_t | remaining |
union { | |
fio_iodimm_capacity_entry_t * capentry | |
fio_iodimm_usage_entry_t * usgentry | |
fio_iodimm_temperature_entry_t * tmpentry | |
} | uu |
int64_t | origin_timestamp |
Structure used to fetch historical data points about various aspects of the device.
int64_t begin_timestamp |
IN: Timestamp of the first desired entry. Set to 0 to start at first history entry.
int64_t end_timestamp |
IN: Timestamp of last desired entry. Set to 0 to end at the last history entry
IN: Type of entry to retrieve.
int64_t first_timestamp |
OUT: Timestamp of the first entry in the table.
int64_t last_timestamp |
OUT: Timestamp of the last entry in the table.
uint32_t lib_version |
IN: Fusion-io SDK API version (from FIO_STRUCT_INIT)
uint32_t num_entries |
OUT: Number of entries actually filled in this table.
int64_t origin_timestamp |
OUT: Timestamp that the history first began for this ioDrive.
uint32_t remaining |
Must be set to 0 on the first call. This will be non-zero if not all entries were retrieved. In that case, another call must be made.
uint32_t size_entries |
IN: Number of entry locations the user has allocated in the table.
union { ... } uu |
OUT: Union of the desired entry types, pre-allocated to hold entries