Lines Matching refs:TEST_CLOCK
29 # ifndef TEST_CLOCK
30 # define TEST_CLOCK CLOCK_REALTIME macro
46 thr1_err = clock_gettime (TEST_CLOCK, &thr1_ts); in thr1()
92 thr2_err = clock_gettime (TEST_CLOCK, &thr2_ts) | err; in thr2()
116 if (clock_gettime (TEST_CLOCK, &sig1_ts) != 0) in sig1_handler()
140 if (clock_gettime (TEST_CLOCK, &sig2_ts) != 0) in sig2_handler()
187 const char *missing = TEST_CLOCK_MISSING (TEST_CLOCK); in do_test()
196 if (clock_gettime (TEST_CLOCK, &ts) != 0) in do_test()
205 if (clock_getres (TEST_CLOCK, &ts) != 0) in do_test()
217 if (timer_create (TEST_CLOCK, &ev, &timer_none) != 0) in do_test()
234 if (timer_create (TEST_CLOCK, &ev, &timer_sig1) != 0) in do_test()
244 if (timer_create (TEST_CLOCK, &ev, &timer_sig2) != 0) in do_test()
255 if (timer_create (TEST_CLOCK, &ev, &timer_thr1) != 0) in do_test()
274 if (timer_create (TEST_CLOCK, &ev, &timer_thr2) != 0) in do_test()
344 if (clock_gettime (TEST_CLOCK, &startts) != 0) in do_test()
496 if (clock_gettime (TEST_CLOCK, &startts) != 0) in do_test()
646 # define TEST_FUNCTION (TEST_CLOCK_MISSING (TEST_CLOCK), 0)