X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Ftw_timer_template.c;h=e78c309ebaa3543294529710bc397e0e2bfdb08e;hb=31844c62b5b3af88cb688bbd33783b1146d0eb55;hp=6b005fd2ff3281f69e9d169bcd55903e6ef2e56d;hpb=8a023fd7471c8695f9f9c7f39abfb0ac7e2b5c4c;p=vpp.git diff --git a/src/vppinfra/tw_timer_template.c b/src/vppinfra/tw_timer_template.c index 6b005fd2ff3..e78c309ebaa 100644 --- 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))) { - 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; }