Home
last modified time | relevance | path

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

/third_party/ltp/include/
Dtst_timer.h376 static inline long long tst_ts_get_sec(struct tst_ts ts) in tst_ts_get_sec() function
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()
641 return tst_ts_get_sec(t) * 1000000 + in tst_ts_to_us()
658 return tst_ts_get_sec(t) * 1000 + in tst_ts_to_ms()
757 tst_its_set_interval_sec(its, tst_ts_get_sec(ts)); in tst_its_set_interval_from_ts()
766 tst_its_set_value_sec(its, tst_ts_get_sec(ts)); in tst_its_set_value_from_ts()
775 if (tst_ts_get_sec(t1) == tst_ts_get_sec(t2)) in tst_ts_lt()
778 return tst_ts_get_sec(t1) < tst_ts_get_sec(t2); in tst_ts_lt()
794 long long sec = tst_ts_get_sec(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.c80 long long sec = tst_ts_get_sec(ts); in test_add_sub()
92 sec = tst_ts_get_sec(ts); in test_add_sub()
/third_party/ltp/lib/
Dtst_clocks.c53 res->tv_sec = tst_ts_get_sec(tts); in tst_clock_getres()
83 ts->tv_sec = tst_ts_get_sec(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()