Searched refs:tv_ref (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
D | 4-1.c | 29 struct timeval tv_ref, tv_cur; in main() local 51 if (gettimeofday(&tv_ref, NULL) != 0) { in main() 73 if (tv_cur.tv_sec - tv_ref.tv_sec < 2) { in main()
|
/external/tcpdump/ |
D | util-print.c | 320 static struct timeval tv_ref; in ts_print() local 357 if (!(netdissect_timevalisset(&tv_ref))) in ts_print() 358 tv_ref = *tvp; /* set timestamp for first packet */ in ts_print() 360 negative_offset = netdissect_timevalcmp(tvp, &tv_ref, <); in ts_print() 362 netdissect_timevalsub(&tv_ref, tvp, &tv_result, nano_prec); in ts_print() 364 netdissect_timevalsub(tvp, &tv_ref, &tv_result, nano_prec); in ts_print() 372 tv_ref = *tvp; /* set timestamp for previous packet */ in ts_print()
|