Go to the source code of this file.
Data Structures | |
struct | dwSensorStats |
Enumerations | |
enum | dwSensorStatTimeDifference { DW_SENSOR_STATE_DELTA_HOST_AND_HOST_TIME = 0 , DW_SENSOR_STATE_DELTA_SENSOR_AND_SENSOR_TIME = 1 , DW_SENSOR_STATE_DELTA_HOST_AND_SENSOR_TIME = 2 , DW_SENSOR_STATE_DELTA_CURRENT_AND_HOST_TIME = 3 , DW_SENSOR_STATE_DELTA_READ_AND_RETURN_FRAME_TIME = 4 , DW_SENSOR_STATE_SENSOR_STAT_COUNT = 5 } |
Enum used for time delta statistics. More... | |
struct dwSensorStats |
Data Fields | ||
---|---|---|
uint64_t | crcErrors | Number of CRC errors. |
dwTime_t | currentDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT] | Array of Current time difference between two consecutive packets as per the dwSensorStatTimeDifference [us]. |
uint64_t | drops | Number of events dropped. |
uint64_t | errors | Number of encountered errors. |
uint64_t | events | Number of normal events (excluding errors and drops). |
dwTime_t | maxDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT] | Array of Maximum observed time difference between two consecutive packets as per the dwSensorStatTimeDifference [us]. |
float64_t | meanDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT] | Array of Mean of all the deltas between consecutive timestamps as per the dwSensorStatTimeDifference. |
dwTime_t | minDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT] | Array of Minimum observed time difference between two consecutive packets as per the dwSensorStatTimeDifference [us]. |
uint64_t | sensorId | Sensor ID. |
float64_t | standardDeviationDelta[DW_SENSOR_STATE_SENSOR_STAT_COUNT] | Array of Variance of all the deltas between consecutive timestamps as per the dwSensorStatTimeDifference. |
dwTime_t | timeDeltaCur |
Current host timestamp difference between two consecutive packets. This will be deprecated soon, use currentDelta array [us] |
dwTime_t | timeDeltaMax |
Maximum observed host timestamp difference between two consecutive packets. This will be deprecated soon, use maxDelta array [us] |
float64_t | timeDeltaMean |
Mean of all the deltas between consecutive host timestamps. This will be deprecated soon, use meanDelta array |
dwTime_t | timeDeltaMin |
Minimum observed host timestamp difference between two consecutive packets. This will be deprecated soon, use minDelta array [us] |
float64_t | timeDeltaStandardDeviation |
Variance of all the deltas between consecutive host timestamps. This will be deprecated soon, use standardDeviationDelta array |
Enum used for time delta statistics.
Definition at line 43 of file SensorStats.h.