Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/include/
Dtimespec.h23 long nsec_diff; in timespec_nsec_diff() local
33 nsec_diff = t1->tv_nsec - t2->tv_nsec; in timespec_nsec_diff()
35 if (sec_diff > 1 || (sec_diff == 1 && nsec_diff >= 0)) in timespec_nsec_diff()
38 return abs(nsec_diff + NSEC_IN_SEC * sec_diff); in timespec_nsec_diff()