diff options
author | Gabriel Ganne <gabriel.ganne@enea.com> | 2017-02-13 10:27:15 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-02-16 08:15:58 +0000 |
commit | 581b072bab3af281b0475168cce8f5c4c4666f49 (patch) | |
tree | cc763c4dc683bdaf6ebac1d3d4ee544f9d69a03e /src/vppinfra/tw_timer_template.h | |
parent | 272c69eb0d8a0ef000ef6d94ee38bdd8009b13ed (diff) |
tw_timer_expire_timers() return the number of expirations
to be used for node statistics
Also fix tw_timer_stop() description
Change-Id: I84b529e330c4534fd55487e7e2b8b089ee68ca11
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vppinfra/tw_timer_template.h')
-rw-r--r-- | src/vppinfra/tw_timer_template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/tw_timer_template.h b/src/vppinfra/tw_timer_template.h index cf15ab8a667..2e41bcac5f8 100644 --- a/src/vppinfra/tw_timer_template.h +++ b/src/vppinfra/tw_timer_template.h @@ -188,7 +188,7 @@ void TW (tw_timer_wheel_init) (TWT (tw_timer_wheel) * tw, void TW (tw_timer_wheel_free) (TWT (tw_timer_wheel) * tw); -void TW (tw_timer_expire_timers) (TWT (tw_timer_wheel) * tw, f64 now); +u32 TW (tw_timer_expire_timers) (TWT (tw_timer_wheel) * tw, f64 now); /* * fd.io coding-style-patch-verification: ON |