Searched refs:nsec_diff (Results 1 – 1 of 1) sorted by relevance
23 long nsec_diff; in timespec_nsec_diff() local33 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()