Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/
Dclock_nanosleep2_01.c31 #define NSEC_IN_SEC 1000000000 macro
45 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()
/external/ltp/testcases/open_posix_testsuite/include/
Dtimespec.h14 #define NSEC_IN_SEC 1000000000 macro
36 return NSEC_IN_SEC; in timespec_nsec_diff()
38 return abs(nsec_diff + NSEC_IN_SEC * sec_diff); in timespec_nsec_diff()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
D2-1.c69 if (timespec_nsec_diff(&t1, &t2) > NSEC_IN_SEC / 2 || in main()
70 timespec_nsec_diff(&t2, &t3) > NSEC_IN_SEC / 2) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
D13-1.c117 if (timespec_nsec_diff(&ts_fin, &ts_ref) < NSEC_IN_SEC) { in main()