31 #ifndef DW_CORE_HEALTH_SIGNALS_H_ 32 #define DW_CORE_HEALTH_SIGNALS_H_ 65 #define DW_MAX_MESSAGE_LENGTH 32 66 #define DW_MAX_HEALTH_KEY_VALUE_PAIRS 16 105 #define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE 64 NVIDIA DriveWorks API: Core Types
Basic health signal that describes the health status of a particular software element.
#define DW_MAX_MESSAGE_LENGTH
#define DW_MAX_HEALTH_KEY_VALUE_PAIRS
char value[DW_MAX_MESSAGE_LENGTH]
Debug information related to the health signal.
uint32_t nValues
Number of key value pairs defined in the field values below.
dwSeverityLevel
Enumerated levels of severity describing the consequence of health signal on the entire system...
uint32_t age
Represents the time (number of cycles of the source generating the signal) since the last id change...
dwHealthState healthState
uint64_t id
Represents an ID for the current health state and will change whenever a new health state is reported...
uint32_t errorCode
Defines the code of health failure being reported.
Represents an array of health signals which are grouped together as one structure.
#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE
char key[DW_MAX_MESSAGE_LENGTH]
Describes the information that the value represents.
dwHealthState
Enumerated levels of health describing health status.
uint8_t score
In range [0,255] where 0 implies critically unhealthy and 255 implies completely healthy.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
dwSeverityLevel severityLevel
Defines a pair of a key and value used to provide additional debugging information to the dwHealthSig...
uint32_t sourceID
Defines the source of the health signal.