Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: export elog_get_events()
[vpp.git]
/
src
/
vppinfra
/
tw_timer_template.h
diff --git
a/src/vppinfra/tw_timer_template.h
b/src/vppinfra/tw_timer_template.h
index
b5cdac0
..
f77b64e
100644
(file)
--- a/
src/vppinfra/tw_timer_template.h
+++ b/
src/vppinfra/tw_timer_template.h
@@
-197,9
+197,6
@@
typedef struct
/** current tick */
u64 current_tick;
/** current tick */
u64 current_tick;
- /** first expiration time */
- u64 first_expires_tick;
-
/** current wheel indices */
u32 current_index[TW_TIMER_WHEELS];
/** current wheel indices */
u32 current_index[TW_TIMER_WHEELS];
@@
-238,6
+235,7
@@
u32 TW (tw_timer_start) (TWT (tw_timer_wheel) * tw,
u32 pool_index, u32 timer_id, u64 interval);
void TW (tw_timer_stop) (TWT (tw_timer_wheel) * tw, u32 handle);
u32 pool_index, u32 timer_id, u64 interval);
void TW (tw_timer_stop) (TWT (tw_timer_wheel) * tw, u32 handle);
+int TW (tw_timer_handle_is_free) (TWT (tw_timer_wheel) * tw, u32 handle);
void TW (tw_timer_update) (TWT (tw_timer_wheel) * tw, u32 handle,
u64 interval);
void TW (tw_timer_update) (TWT (tw_timer_wheel) * tw, u32 handle,
u64 interval);