Searched refs:NSEC_IN_SEC (Results 1 – 4 of 4) sorted by relevance
31 #define NSEC_IN_SEC 1000000000 macro45 ts.tv_nsec += NSEC_IN_SEC/10; in verify_clock_nanosleep2()46 if (ts.tv_nsec >= NSEC_IN_SEC) { in verify_clock_nanosleep2()48 ts.tv_nsec %= NSEC_IN_SEC; in verify_clock_nanosleep2()
14 #define NSEC_IN_SEC 1000000000 macro36 return NSEC_IN_SEC; in timespec_nsec_diff()38 return abs(nsec_diff + NSEC_IN_SEC * sec_diff); in timespec_nsec_diff()
68 if (timespec_nsec_diff(&t1, &t2) > NSEC_IN_SEC / 2 || in main()69 timespec_nsec_diff(&t2, &t3) > NSEC_IN_SEC / 2) { in main()
117 if (timespec_nsec_diff(&ts_fin, &ts_ref) < NSEC_IN_SEC) { in main()