EM-ODP  3.7.0
Event Machine on ODP
ODP_PACKED Struct Reference

#include <em_event_types.h>

Collaboration diagram for ODP_PACKED:

Data Fields

uint32_t payload_first
 
int16_t eo_idx
 
int16_t queue_idx
 
uint8_t api_op
 
uint8_t core
 
em_sched_context_type_t sched_context_type
 
int rcv_multi_cnt
 
queue_elem_tq_elem
 
queue_elem_tsched_q_elem
 
em_event_group_t egrp
 
event_group_elem_tegrp_elem
 
int32_t egrp_gen
 

Detailed Description

Event state information, updated on valid state transitions. "Best effort" update, i.e. atomic update of state is not guaranteed in invalid simultaneous state updates.

Contains the previously known good state and will be printed when detecting an invalid state transition.

EM core/local current state

Contains information about the current EO, queue, event group etc. when running in an EO context (e.g. in an EO-receive function), undef/NULL otherwise.

Definition at line 129 of file em_event_types.h.

Field Documentation

◆ api_op

uint8_t ODP_PACKED::api_op

EM API operation ID. Identifies the previously called API func that altered state

Definition at line 154 of file em_event_types.h.

◆ core

uint8_t ODP_PACKED::core

EM core that called API('api_op')

Definition at line 156 of file em_event_types.h.

◆ egrp

em_event_group_t ODP_PACKED::egrp

Current event group

Definition at line 178 of file em_mem.h.

◆ egrp_elem

event_group_elem_t* ODP_PACKED::egrp_elem

Current event group element

Definition at line 180 of file em_mem.h.

◆ egrp_gen

int32_t ODP_PACKED::egrp_gen

Current event group generation count

Definition at line 182 of file em_mem.h.

◆ eo_idx

int16_t ODP_PACKED::eo_idx

EO-index

Obtained from the EO with eo_hdl2idx(eo) to save hdr space.

Definition at line 141 of file em_event_types.h.

◆ payload_first

uint32_t ODP_PACKED::payload_first

First 'word' of the event payload as seen at the time of the previous state update.

Definition at line 134 of file em_event_types.h.

◆ q_elem

queue_elem_t* ODP_PACKED::q_elem

Current queue element during a receive call

Definition at line 174 of file em_mem.h.

◆ queue_idx

int16_t ODP_PACKED::queue_idx

Queue-index

Obtained from the queue with queue_hdl2idx(queue) to save hdr space

Definition at line 148 of file em_event_types.h.

◆ rcv_multi_cnt

int ODP_PACKED::rcv_multi_cnt

EO-receive function burst count

Definition at line 172 of file em_mem.h.

◆ sched_context_type

em_sched_context_type_t ODP_PACKED::sched_context_type

Current scheduling context type

Definition at line 170 of file em_mem.h.

◆ sched_q_elem

queue_elem_t* ODP_PACKED::sched_q_elem

Current scheduled queue element that set the sched context

Definition at line 176 of file em_mem.h.


The documentation for this struct was generated from the following files: