FD.io VPP
v17.07-30-g839fa73
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 |
vector of expired timers More... | |
u32 | max_expirations |
maximum expirations More... | |
Definition at line 117 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 196 of file tw_timer_template.h.
u64 TWT::current_tick |
current tick
Definition at line 190 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 206 of file tw_timer_template.h.
u32* TWT::expired_timer_handles |
vector of expired timers
Definition at line 209 of file tw_timer_template.h.
u64 TWT::first_expires_tick |
first expiration time
Definition at line 193 of file tw_timer_template.h.
f64 TWT::last_run_time |
Last time the wheel ran.
Definition at line 181 of file tw_timer_template.h.
u32 TWT::max_expirations |
maximum expirations
Definition at line 212 of file tw_timer_template.h.
u32 TWT::next |
next, previous pool indices
Definition at line 120 of file tw_timer_template.h.
f64 TWT::next_run_time |
Next time the wheel should run.
Definition at line 178 of file tw_timer_template.h.
u32 TWT::prev |
Definition at line 121 of file tw_timer_template.h.
f64 TWT::ticks_per_second |
Timer ticks per second.
Definition at line 184 of file tw_timer_template.h.
f64 TWT::timer_interval |
Timer interval, also needed to avoid fp divide in speed path.
Definition at line 187 of file tw_timer_template.h.
u32 TWT::user_handle |
user timer handle
Definition at line 147 of file tw_timer_template.h.
wheel arrays
Definition at line 199 of file tw_timer_template.h.