/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-1.c | 10 * if the absolute time specified by abstime passes before the condition cond is 11 * signaled or broadcasted, or if the absolute time specified by abstime has 12 * already been passed at the time of the call. 24 #include <sys/time.h> 55 fprintf(stderr, "Fail to get current time\n"); in t1_func() 66 "Thread1 stops waiting when time is out\n"); in t1_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
H A D | 2-2.c | 43 #include <time.h> 217 UNRESOLVED(ret, "Failed to get time"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
H A D | 3-1.c | 34 #include <sys/time.h> 67 /* Absolute time, not relative. */ in fn_rd() 88 /* Get time after the pthread_rwlock_timedrdlock() call. */ in fn_rd() 177 /* the child thread does not block, check the time interval */ in main() 189 "start time %ld.%06ld, end time %ld.%06ld\n", in main()
|
H A D | 1-1.c | 31 #include <sys/time.h> 59 /* Absolute time, not relative. */ in fn_rd() 80 /* Get time after the pthread_rwlock_timedrdlock() call. */ in fn_rd() 163 /* the child thread does not block, check the time interval */ in main() 173 ("Test FAILED: the timer expired and thread terminated, but the timeout is not correct: start time %ld.%06ld, end time %ld.%06ld\n", in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
H A D | 9-2.c | 9 * time. 13 * - get time T0 17 * - get time T2 24 #include <time.h>
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/condvar/ |
H A D | pthread_cond_wait_2.c | 26 #include <time.h>
|
H A D | pthread_cond_wait_1.c | 26 #include <time.h>
|
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
H A D | sem_sleepingbarber.c | 21 #include <time.h>
|
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/ |
H A D | twoptimers.c | 9 * same time, and ensure they both expire at the same time. 12 #include <time.h>
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
H A D | stress.c | 37 #include <time.h> 111 UNRESOLVED(errno, "Clock get time (realtime) failed."); in threaded() 146 "Clock get time (realtime) failed."); in threaded()
|
/third_party/ltp/testcases/realtime/func/gtod_latency/ |
H A D | gtod_infinite.c | 30 * an unspecified period of time. It would not be unusual to let this 51 #include <time.h>
|
/third_party/ltp/testcases/realtime/func/measurement/ |
H A D | rdtsc-latency.c | 23 * Simple program to measure the time between several pairs of calls to 41 #include <sys/time.h> 133 "You don't have the necessary privileges to create such a real-time process.\n"); in main()
|
/third_party/ltp/testcases/realtime/func/sched_jitter/ |
H A D | sched_jitter.c | 27 * (longest execution time - the shortest execution time). 46 #include <time.h>
|
/third_party/ltp/testcases/realtime/func/thread_clock/ |
H A D | tc-2.c | 25 * that spend time on the CPU. It then reads the thread cpu clocks of all 45 #include <time.h> 79 /* Just spend some time on the CPU */ 139 /* Sleeping thread should not accumulate more than 1 second of CPU time */ in checkresult() 142 ("Sleeper thread %d time is %f, should have been close to zero. FAIL\n", in checkresult() 165 /* Difference between the sum of thread times and process time in checkresult()
|
/third_party/ltp/testcases/realtime/perf/latency/ |
H A D | pthread_cond_latency.c | 38 #include <sys/time.h> 72 * Return time as a floating-point number rather than struct timeval.
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
H A D | 3-1.c | 40 #include <time.h> 139 * we hope to have enough time to cancel at least one in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 2-2.c | 19 #include <sys/time.h> 51 fprintf(stderr, "Fail to get current time\n"); in thr_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | 2-2.c | 19 #include <sys/time.h> 51 fprintf(stderr, "Fail to get current time\n"); in thr_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
H A D | 1-2.c | 26 * The test fails if the time read is not coherent 39 #include <time.h> 65 UNRESOLVED(errno, "Failed to get clock time"); in threaded()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
H A D | 1-1.c | 27 #include <sys/time.h>
|
H A D | 1-2.c | 26 #include <sys/time.h>
|
/third_party/ltp/testcases/realtime/func/prio-wake/ |
H A D | prio-wake.c | 28 * - The time the worker thread starts running is noted. Each of the 29 * worker threads then waits on the same _condvar_. The time it 51 #include <time.h>
|
/third_party/ltp/testcases/realtime/include/ |
H A D | librttest.h | 56 #include <time.h> 313 /* rt_nanosleep: sleep until absolute time ns given in 318 /* rt_gettime: get CLOCK_MONOTONIC time in nanoseconds
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-qnx.cc | 14 #include <sys/time.h> 34 #include "src/base/platform/platform-posix-time.h"
|
H A D | platform-openbsd.cc | 14 #include <sys/time.h> 30 #include "src/base/platform/platform-posix-time.h"
|