EM-ODP  3.7.0
Event Machine on ODP
em_dispatch_results_t Struct Reference

Dispatch results. More...

#include <event_machine_dispatcher.h>

Data Fields

uint64_t rounds
 
uint64_t ns
 
uint64_t events
 

Detailed Description

Dispatch results.

Output struct for returning the results of the em_dispatch_...() functions in. Usage of 'em_dispatch_results_t *results' with dispatch functions is optional and 'NULL' can be used if not interested in the results.

Definition at line 262 of file event_machine_dispatcher.h.

Field Documentation

◆ events

uint64_t em_dispatch_results_t::events

The number of events that were dispatched.

Definition at line 281 of file event_machine_dispatcher.h.

◆ ns

uint64_t em_dispatch_results_t::ns

The time in nanoseconds that dispatch was run. Only filled if requesting EM to dispatch for a certain amount of time, i.e. if EM_DISPATCH_DURATION_NS or EM_DISPATCH_DURATION_NO_EVENTS_NS duration selection flags were set in em_dispatch_duration_t::select when using em_dispatch_duration(). Also set when used with em_dispatch_ns().

Definition at line 276 of file event_machine_dispatcher.h.

◆ rounds

uint64_t em_dispatch_results_t::rounds

The number of dispatch rounds that were run.

Definition at line 266 of file event_machine_dispatcher.h.


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