Home
last modified time | relevance | path

Searched refs:tst_ts_get_nsec (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/include/
Dtst_timer.h394 static inline long long tst_ts_get_nsec(struct tst_ts ts) in tst_ts_get_nsec() function
595 long long nsec = tst_ts_get_nsec(*t); in tst_ts_valid()
600 if (tst_ts_get_sec(*t) == 0 && tst_ts_get_nsec(*t) == 0) in tst_ts_valid()
633 return tst_ts_get_sec(t) * 1000000000 + tst_ts_get_nsec(t); in tst_ts_to_ns()
642 (tst_ts_get_nsec(t) + 500) / 1000; in tst_ts_to_us()
659 (tst_ts_get_nsec(t) + 500000) / 1000000; in tst_ts_to_ms()
758 tst_its_set_interval_nsec(its, tst_ts_get_nsec(ts)); in tst_its_set_interval_from_ts()
767 tst_its_set_value_nsec(its, tst_ts_get_nsec(ts)); in tst_its_set_value_from_ts()
776 return tst_ts_get_nsec(t1) < tst_ts_get_nsec(t2); in tst_ts_lt()
795 long long nsec = tst_ts_get_nsec(t); in tst_ts_normalize()
[all …]
/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/
Dsched_rr_get_interval01.c65 tst_ts_get_sec(tp), tst_ts_get_nsec(tp)); in run()
68 tst_ts_get_sec(tp), tst_ts_get_nsec(tp)); in run()
Dsched_rr_get_interval02.c56 TST_RET, tst_ts_get_sec(tp), tst_ts_get_nsec(tp)); in run()
/third_party/ltp/lib/newlib_tests/
Dtest_timer.c81 long long nsec = tst_ts_get_nsec(ts); in test_add_sub()
93 nsec = tst_ts_get_nsec(ts); in test_add_sub()
/third_party/ltp/lib/
Dtst_clocks.c54 res->tv_nsec = tst_ts_get_nsec(tts); in tst_clock_getres()
84 ts->tv_nsec = tst_ts_get_nsec(tts); in tst_clock_gettime()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c52 return 1000000ULL * tst_ts_get_sec(tp) + tst_ts_get_nsec(tp) / 1000; in getustime()