Lines Matching refs:ots
90 struct timespec ots, ts; in ATF_TC_BODY() local
99 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in ATF_TC_BODY()
115 timespecsub(&ts, &ots, &ts); in ATF_TC_BODY()
133 timespecsub(&ts, &ots, &ts); in ATF_TC_BODY()
147 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in ATF_TC_BODY()
152 timespecsub(&ts, &ots, &ts); in ATF_TC_BODY()
278 struct timespec ts, ots; in ATF_TC_BODY() local
284 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ots) == 0); in ATF_TC_BODY()
285 ATF_REQUIRE(ots.tv_sec < INTPTR_MAX - TIME1_TOTAL_SEC); in ATF_TC_BODY()
287 seconds = ots.tv_sec + TIME1_TOTAL_SEC; in ATF_TC_BODY()
294 timespecsub(&ts, &ots, &ts); in ATF_TC_BODY()
313 struct timespec ts, ots; in do_test_timer_units() local
321 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in do_test_timer_units()
325 timespecsub(&ts, &ots, &ts); in do_test_timer_units()