FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
Public Member Functions | |
TWT (tw_timer)*timers | |
Timer pool. More... | |
Data Fields | |
u32 | next |
next, previous pool indices More... | |
u32 | prev |
union { | |
struct { | |
} | |
}; | |
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... | |
u64 | current_tick |
current tick More... | |
u64 | first_expires_tick |
first expiration time 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 |
vectors of expired timers More... | |
u32 | max_expirations |
maximum expirations More... | |
Definition at line 118 of file tw_timer_template.h.
TWT::TWT | ( | tw_timer | ) |
Timer pool.
union { ... } |
u32 TWT::current_index[TW_TIMER_WHEELS] |
current wheel indices
Definition at line 204 of file tw_timer_template.h.
u64 TWT::current_tick |
current tick
Definition at line 198 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 219 of file tw_timer_template.h.
u32* TWT::expired_timer_handles |
vectors of expired timers
Definition at line 222 of file tw_timer_template.h.
u64 TWT::first_expires_tick |
first expiration time
Definition at line 201 of file tw_timer_template.h.
f64 TWT::last_run_time |
Last time the wheel ran.
Definition at line 189 of file tw_timer_template.h.
u32 TWT::max_expirations |
maximum expirations
Definition at line 225 of file tw_timer_template.h.
u32 TWT::next |
next, previous pool indices
Definition at line 121 of file tw_timer_template.h.
f64 TWT::next_run_time |
Next time the wheel should run.
Definition at line 186 of file tw_timer_template.h.
u32 TWT::prev |
Definition at line 122 of file tw_timer_template.h.
f64 TWT::ticks_per_second |
Timer ticks per second.
Definition at line 192 of file tw_timer_template.h.
f64 TWT::timer_interval |
Timer interval, also needed to avoid fp divide in speed path.
Definition at line 195 of file tw_timer_template.h.
u32 TWT::user_handle |
user timer handle
Definition at line 148 of file tw_timer_template.h.
wheel arrays
Definition at line 207 of file tw_timer_template.h.