Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d456020
)
Fix last run time update for timer wheel
59/5459/2
author
Florin Coras
<fcoras@cisco.com>
Wed, 22 Feb 2017 03:26:51 +0000
(19:26 -0800)
committer
Dave Barach
<openvpp@barachs.net>
Wed, 22 Feb 2017 12:55:05 +0000
(12:55 +0000)
Change-Id: I9ac04b15440297c154ed1e3fba888915044cb245
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vppinfra/tw_timer_template.c
patch
|
blob
|
history
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;
}