Searched refs:tst_ts_get_nsec (Results 1 – 6 of 6) sorted by relevance
394 static inline long long tst_ts_get_nsec(struct tst_ts ts) in tst_ts_get_nsec() function595 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 …]
65 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()
56 TST_RET, tst_ts_get_sec(tp), tst_ts_get_nsec(tp)); in run()
81 long long nsec = tst_ts_get_nsec(ts); in test_add_sub()93 nsec = tst_ts_get_nsec(ts); in test_add_sub()
54 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()
52 return 1000000ULL * tst_ts_get_sec(tp) + tst_ts_get_nsec(tp) / 1000; in getustime()