EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
em_event_vector_info_t Struct Reference

Vector event information filled by em_event_vector_info() More...

#include <event_machine_event.h>

Data Fields

em_event_type_t event_type
 
em_event_t * event_tbl
 
uint32_t size
 
uint32_t max_size
 

Detailed Description

Vector event information filled by em_event_vector_info()

Output structure for obtaining information about a vector event. Information related to the vector event will be filled into this struct by the em_event_vector_info() API function.

Examples
bench_event.c.

Definition at line 1383 of file event_machine_event.h.

Field Documentation

◆ event_tbl

em_event_t* em_event_vector_info_t::event_tbl

Pointer to the vector's event-table. NULL on error.

Examples
bench_event.c.

Definition at line 1396 of file event_machine_event.h.

◆ event_type

em_event_type_t em_event_vector_info_t::event_type

Event type of events stored in the vector's event-table. EM_EVENT_TYPE_ANY if the vector contains mixed types or the type is unknown. EM_EVENT_TYPE_UNDEF on error.

See also
em_event_vector_type() for details on default values per vector backend mode.

Definition at line 1391 of file event_machine_event.h.

◆ max_size

uint32_t em_event_vector_info_t::max_size

Max number of events that can fit into the vector's event-table, 0 on failure or if EM cannot retrieve the max size (non-EM pool).

Definition at line 1407 of file event_machine_event.h.

◆ size

uint32_t em_event_vector_info_t::size

Number of available/set valid events in the vector's event-table. 0 on error or if the vector is newly allocated and thus has an empty event-table.

Definition at line 1402 of file event_machine_event.h.


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