summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/tw_timer_template.h
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-02-13 10:27:15 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-02-16 08:15:58 +0000
commit581b072bab3af281b0475168cce8f5c4c4666f49 (patch)
treecc763c4dc683bdaf6ebac1d3d4ee544f9d69a03e /src/vppinfra/tw_timer_template.h
parent272c69eb0d8a0ef000ef6d94ee38bdd8009b13ed (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.h2
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