Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I5db3457a9fed11d6ecf6eaabcdf8f1d1177b2a9f
*/
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;
}