Searched refs:old_tv (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/contrib/netbsd-tests/net/in_cksum/
H A Din_cksum.c175 struct timeval tv, old_tv; local
246 timersub(&res.ru_utime, &tv, &old_tv);
249 (intmax_t)old_tv.tv_sec, (intmax_t)old_tv.tv_usec);
263 ((double)old_tv.tv_sec * 1e6 + old_tv.tv_usec + 1));
/freebsd-current/usr.bin/systat/
H A Difstat.c269 struct timeval tv, new_tv, old_tv; local
319 old_tv = ifp->tv;
320 timersub(&new_tv, &old_tv, &tv);
/freebsd-current/sys/net/route/
H A Dfib_algo.c537 get_tv_diff_ms(const struct timeval *old_tv, const struct timeval *new_tv) argument
541 diff = ((int64_t)(new_tv->tv_sec - old_tv->tv_sec)) * 1000;
542 diff += (new_tv->tv_usec - old_tv->tv_usec) / 1000;

Completed in 133 milliseconds