Home
last modified time | relevance | path

Searched refs:tvdiff (Results 1 – 3 of 3) sorted by relevance

/netbsd/common/lib/libc/gen/
H A Drpst.c555 tvdiff(const struct timeval *tv1, const struct timeval *tv2) in tvdiff() function
591 tvdiff(&end, &start)); in query()
600 printf("(linear search took %ju usecs)\n", tvdiff(&end, &start)); in query()
675 tvdiff(&end, &start)); in main()
712 tvdiff(&end, &start)); in main()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dsystime.c383 struct timeval tvdiff; in update_uwtmp() local
405 tvdiff = abs_tval(sub_tval(timetv, tvlast)); in update_uwtmp()
406 if (tvdiff.tv_sec > 0) { in update_uwtmp()
/netbsd/usr.bin/ftp/
H A Dftp.c615 struct timeval tvthen, tvnow, tvdiff; in copy_bytes() local
668 timersub(&tvnow, &tvthen, &tvdiff); in copy_bytes()
669 if (tvdiff.tv_sec > 0) in copy_bytes()
671 usleep(1000000 - tvdiff.tv_usec); in copy_bytes()