104 size_t mem_size; /**< Datagram \a data memory size. */ |
104 size_t mem_size; /**< Datagram \a data memory size. */ |
105 size_t data_size; /**< Size of the data in \a data. */ |
105 size_t data_size; /**< Size of the data in \a data. */ |
106 uint8_t index; /**< Index (set by master). */ |
106 uint8_t index; /**< Index (set by master). */ |
107 uint16_t working_counter; /**< Working counter. */ |
107 uint16_t working_counter; /**< Working counter. */ |
108 ec_datagram_state_t state; /**< State. */ |
108 ec_datagram_state_t state; /**< State. */ |
|
109 #ifdef EC_HAVE_CYCLES |
109 cycles_t cycles_sent; /**< Time, when the datagram was sent. */ |
110 cycles_t cycles_sent; /**< Time, when the datagram was sent. */ |
|
111 #endif |
110 unsigned long jiffies_sent; /**< Jiffies, when the datagram was sent. */ |
112 unsigned long jiffies_sent; /**< Jiffies, when the datagram was sent. */ |
|
113 #ifdef EC_HAVE_CYCLES |
111 cycles_t cycles_received; /**< Time, when the datagram was received. */ |
114 cycles_t cycles_received; /**< Time, when the datagram was received. */ |
|
115 #endif |
112 unsigned long jiffies_received; /**< Jiffies, when the datagram was |
116 unsigned long jiffies_received; /**< Jiffies, when the datagram was |
113 received. */ |
117 received. */ |
114 unsigned int skip_count; /**< Number of requeues when not yet received. */ |
118 unsigned int skip_count; /**< Number of requeues when not yet received. */ |
115 unsigned long stats_output_jiffies; /**< Last statistics output. */ |
119 unsigned long stats_output_jiffies; /**< Last statistics output. */ |
116 char name[EC_DATAGRAM_NAME_SIZE]; /**< Description of the datagram. */ |
120 char name[EC_DATAGRAM_NAME_SIZE]; /**< Description of the datagram. */ |