Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
D2-1.c26 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()
D1-1.c19 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()
D10000-1.c52 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()
Dcoverage.txt22 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/
D1-1.c21 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()