Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: minimize tw verbosity on timebase jump
[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
6b005fd
..
e78c309
100644
(file)
--- a/
src/vppinfra/tw_timer_template.c
+++ b/
src/vppinfra/tw_timer_template.c
@@
-540,8
+540,9
@@
static inline
*/
if (nticks > (1 << (TW_RING_SHIFT + 1)))
{
*/
if (nticks > (1 << (TW_RING_SHIFT + 1)))
{
- clib_warning ("Excessive nticks %u at %.6f last run %.6f",
- nticks, now, tw->last_run_time);
+ if (nticks / tw->ticks_per_second > 100e-3)
+ clib_warning ("Excessive nticks %u at %.6f last run %.6f",
+ nticks, now, tw->last_run_time);
tw->last_run_time = now;
return callback_vector_arg;
}
tw->last_run_time = now;
return callback_vector_arg;
}