OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tv_ref
(Results
1 - 2
of
2
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
4-1.c
29
struct timeval
tv_ref
, tv_cur;
local
51
if (gettimeofday(&
tv_ref
, NULL) != 0) {
73
if (tv_cur.tv_sec -
tv_ref
.tv_sec < 2) {
/external/tcpdump/
util-print.c
320
static struct timeval
tv_ref
;
local
357
if (!(netdissect_timevalisset(&
tv_ref
)))
358
tv_ref
= *tvp; /* set timestamp for first packet */
360
negative_offset = netdissect_timevalcmp(tvp, &
tv_ref
, <);
362
netdissect_timevalsub(&
tv_ref
, tvp, &tv_result, nano_prec);
364
netdissect_timevalsub(tvp, &
tv_ref
, &tv_result, nano_prec);
372
tv_ref
= *tvp; /* set timestamp for previous packet */
Completed in 607 milliseconds