FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Public Member Functions | |
TWT (tw_timer)*timers | |
Timer pool. More... | |
Data Fields | |
u32 | next |
next, previous pool indices More... | |
u32 | prev |
u32 | user_handle |
user timer handle More... | |
f64 | next_run_time |
Next time the wheel should run. More... | |
f64 | last_run_time |
Last time the wheel ran. More... | |
f64 | ticks_per_second |
Timer ticks per second. More... | |
f64 | timer_interval |
Timer interval, also needed to avoid fp divide in speed path. More... | |
u32 | current_tick |
current tick More... | |
u32 | current_index [TW_TIMER_WHEELS] |
current wheel indices More... | |
tw_timer_wheel_slot_t | w [TW_TIMER_WHEELS][TW_SLOTS_PER_RING] |
wheel arrays More... | |
void(* | expired_timer_callback )(u32 *expired_timer_handles) |
expired timer callback, receives a vector of handles More... | |
u32 * | expired_timer_handles |
vector of expired timers More... | |
u32 | max_expirations |
maximum expirations More... | |
Definition at line 113 of file tw_timer_template.h.
TWT::TWT | ( | tw_timer | ) |
Timer pool.
u32 TWT::current_index[TW_TIMER_WHEELS] |
current wheel indices
Definition at line 168 of file tw_timer_template.h.
u32 TWT::current_tick |
current tick
Definition at line 165 of file tw_timer_template.h.
void(* TWT::expired_timer_callback) (u32 *expired_timer_handles) |
expired timer callback, receives a vector of handles
Definition at line 174 of file tw_timer_template.h.
u32* TWT::expired_timer_handles |
vector of expired timers
Definition at line 177 of file tw_timer_template.h.
f64 TWT::last_run_time |
Last time the wheel ran.
Definition at line 156 of file tw_timer_template.h.
u32 TWT::max_expirations |
maximum expirations
Definition at line 180 of file tw_timer_template.h.
u32 TWT::next |
next, previous pool indices
Definition at line 116 of file tw_timer_template.h.
f64 TWT::next_run_time |
Next time the wheel should run.
Definition at line 153 of file tw_timer_template.h.
u32 TWT::prev |
Definition at line 117 of file tw_timer_template.h.
f64 TWT::ticks_per_second |
Timer ticks per second.
Definition at line 159 of file tw_timer_template.h.
f64 TWT::timer_interval |
Timer interval, also needed to avoid fp divide in speed path.
Definition at line 162 of file tw_timer_template.h.
u32 TWT::user_handle |
user timer handle
Definition at line 124 of file tw_timer_template.h.
wheel arrays
Definition at line 171 of file tw_timer_template.h.