Searched refs:ts_fin (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/ |
D | 13-1.c | 67 struct timespec ts_ref, ts_fin; in main() local 111 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); in main() 117 if (timespec_nsec_diff(&ts_fin, &ts_ref) < NSEC_IN_SEC) { in main() 120 ts_fin.tv_sec, ts_fin.tv_nsec); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/ |
D | s-c1.c | 120 struct timespec ts_ref, ts_fin; local 210 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); 262 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + 263 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); 300 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); 309 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + 310 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/ |
D | s-c1.c | 119 struct timespec ts_ref, ts_fin; in main() local 215 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); in main() 266 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 267 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); in main() 310 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); in main() 319 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 320 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 113 struct timespec ts_ref, ts_fin; in main() local 264 ret = clock_gettime(CLOCK_REALTIME, &ts_fin); in main() 289 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 290 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
D | s-c1.c | 149 struct timespec ts_ref, ts_fin; in main() local 291 &ts_fin); in main() 322 ((ts_fin.tv_sec - in main() 325 ((ts_fin.tv_nsec - in main()
|