Searched defs:tdiff (Results 1 - 3 of 3) sorted by relevance

/external/iproute2/misc/
H A Dnstat.c386 int tdiff; local
389 tdiff = T_DIFF(now, snaptime);
390 if (tdiff >= scan_interval) {
391 update_db(tdiff);
393 tdiff = 0;
395 if (poll(&p, 1, tdiff + scan_interval) > 0
409 if (tdiff > 0)
410 update_db(tdiff);
H A Drtacct.c380 int tdiff; local
383 tdiff = T_DIFF(now, snaptime);
384 if (tdiff >= scan_interval) {
385 update_db(tdiff);
387 tdiff = 0;
389 if (poll(&p, 1, tdiff + scan_interval) > 0
401 if (tdiff > 0)
402 update_db(tdiff);
H A Difstat.c499 int tdiff; local
503 tdiff = T_DIFF(now, snaptime);
504 if (tdiff >= scan_interval) {
505 update_db(tdiff);
507 tdiff = 0;
510 if (poll(&p, 1, tdiff + scan_interval) > 0
524 if (tdiff > 0)
525 update_db(tdiff);

Completed in 70 milliseconds