Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix last run time update for timer wheel
[vpp.git]
/
src
/
vppinfra
/
tw_timer_template.c
diff --git
a/src/vppinfra/tw_timer_template.c
b/src/vppinfra/tw_timer_template.c
index
436dd4e
..
e3f4450
100644
(file)
--- 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->ti
cks_per_second
;
+ tw->last_run_time += i * tw->ti
mer_interval
;
return total_nexpirations;
}