From: Florin Coras Date: Wed, 22 Feb 2017 03:26:51 +0000 (-0800) Subject: Fix last run time update for timer wheel X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=954898f9453032e3d08326b946f6d7007cf39610;p=odp4vpp.git Fix last run time update for timer wheel Change-Id: I9ac04b15440297c154ed1e3fba888915044cb245 Signed-off-by: Florin Coras --- diff --git a/src/vppinfra/tw_timer_template.c b/src/vppinfra/tw_timer_template.c index 436dd4e1..e3f44500 100644 --- a/src/vppinfra/tw_timer_template.c +++ b/src/vppinfra/tw_timer_template.c @@ -337,7 +337,7 @@ u32 TW (tw_timer_expire_timers) (TWT (tw_timer_wheel) * tw, f64 now) break; } - tw->last_run_time += i * tw->ticks_per_second; + tw->last_run_time += i * tw->timer_interval; return total_nexpirations; }