API Reference Manual
1.46.0
|
Timer start parameters. More...
#include <timer_types.h>
Data Fields | |
odp_timer_tick_type_t | tick_type |
Tick type. More... | |
uint64_t | tick |
Expiration time in ticks. More... | |
odp_event_t | tmo_ev |
Timeout event. More... | |
Timer start parameters.
Definition at line 404 of file api/spec/timer_types.h.
odp_timer_tick_type_t odp_timer_start_t::tick_type |
Tick type.
Defines if expiration time ticks are absolute or relative.
Definition at line 409 of file api/spec/timer_types.h.
uint64_t odp_timer_start_t::tick |
Expiration time in ticks.
New expiration time for the timer to be started/restarted. When 'tick_type' is ODP_TIMER_TICK_REL, expiration time is odp_timer_current_tick() + 'tick'.
Definition at line 415 of file api/spec/timer_types.h.
odp_event_t odp_timer_start_t::tmo_ev |
Timeout event.
When the timer expires, this event is enqueued to the destination queue of the timer. The event type can be ODP_EVENT_BUFFER, ODP_EVENT_PACKET or ODP_EVENT_TIMEOUT. It is recommended to use ODP_EVENT_TIMEOUT type events. Those (odp_timeout_t) carry also timeout specific metadata.
This field is ignored by odp_timer_restart() calls.
Definition at line 426 of file api/spec/timer_types.h.