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

/bind-9.6-ESV-R11/contrib/queryperf/
H A Dqueryperf.c1021 * add tv1 and tv2, store the result in tv_result.
1024 addtv(struct timeval *tv1, struct timeval *tv2, struct timeval *tv_result) { argument
1025 tv_result->tv_sec = tv1->tv_sec + tv2->tv_sec;
1026 tv_result->tv_usec = tv1->tv_usec + tv2->tv_usec;
1037 * Return the difference between tv1 and tv2 in seconds in a double.
1040 difftv(struct timeval tv1, struct timeval tv2) { argument
1044 diff_sec = tv1.tv_sec - tv2.tv_sec;
1045 diff_usec = tv1.tv_usec - tv2.tv_usec;

Completed in 16 milliseconds