Searched refs:sleptns (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
D | 2-1.c | 26 int slepts, sleptns; in main() local 50 sleptns = tsafter.tv_nsec - tsbefore.tv_nsec; in main() 51 if (sleptns < 0) { in main() 52 sleptns = sleptns + 1000000000; in main() 56 if (slepts >= 1 || sleptns > sleepnsec[i]) { in main() 58 slepts, sleptns, sleepnsec[i]); in main() 61 slepts, sleptns, sleepnsec[i]); in main()
|
D | 1-1.c | 19 int slepts = 0, sleptns = 0; in main() local 42 sleptns = tsafter.tv_nsec - tsbefore.tv_nsec; in main() 43 if (sleptns < 0) { in main() 44 sleptns = sleptns + 1000000000; in main() 48 if ((slepts > 0) || (sleptns > sleepnsec)) { in main()
|
D | 10000-1.c | 52 int slepts = 0, sleptns = 0; in main() local 73 sleptns = tsafter.tv_nsec - tsbefore.tv_nsec; in main() 74 if (sleptns < 0) { in main() 75 sleptns = sleptns + 1000000000; in main() 81 slepts, sleptns, in main() 86 slepts, sleptns, in main()
|
D | coverage.txt | 22 slepts, sleptns = amount of seconds and nanoseconds slept, respectively 25 sleptns=FINISHNSEC - STARTNSEC; 26 if (sleptns < 0) { 27 sleptns = sleptns+1000000000;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
D | 1-1.c | 21 int slepts = 0, sleptns = 0; in main() local 44 sleptns = tsafter.tv_nsec - tsbefore.tv_nsec; in main() 45 if (sleptns < 0) { in main() 46 sleptns = sleptns + 1000000000; in main() 50 if ((slepts > 0) || (sleptns > SLEEPNSEC)) { in main()
|