Searched refs:ts_ref (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 93 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); in main() 117 if (timespec_nsec_diff(&ts_fin, &ts_ref) < NSEC_IN_SEC) { in main() 119 ts_ref.tv_sec, ts_ref.tv_nsec, in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/ |
D | s-c1.c | 122 struct timespec ts_ref, ts_fin; in main() local 175 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); in main() 269 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 270 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); in main() 295 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); in main() 322 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 323 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/ |
D | s-c1.c | 123 struct timespec ts_ref, ts_fin; local 175 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); 265 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + 266 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000); 285 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); 312 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + 313 ((ts_fin.tv_nsec - ts_ref.tv_nsec) / 1000);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 120 struct timespec ts_ref, ts_fin; in main() local 175 ret = clock_gettime(CLOCK_REALTIME, &ts_ref); in main() 296 ((ts_fin.tv_sec - ts_ref.tv_sec) * 1000000) + in main() 297 ((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 | 156 struct timespec ts_ref, ts_fin; in main() local 246 &ts_ref); in main() 330 ts_ref.tv_sec) * in main() 333 ts_ref.tv_nsec) / 1000); in main()
|