• Home
  • Raw
  • Download

Lines Matching refs:tst_ts

146 struct tst_ts {  struct
163 static inline void *tst_ts_get(struct tst_ts *t) in tst_ts_get() argument
376 static inline long long tst_ts_get_sec(struct tst_ts ts) in tst_ts_get_sec()
394 static inline long long tst_ts_get_nsec(struct tst_ts ts) in tst_ts_get_nsec()
412 static inline void tst_ts_set_sec(struct tst_ts *ts, long long sec) in tst_ts_set_sec()
432 static inline void tst_ts_set_nsec(struct tst_ts *ts, long long nsec) in tst_ts_set_nsec()
593 static inline int tst_ts_valid(struct tst_ts *t) in tst_ts_valid()
609 static inline struct tst_ts tst_ts_from_timespec(struct timespec ts) in tst_ts_from_timespec()
611 struct tst_ts t = { in tst_ts_from_timespec()
623 static inline struct timespec tst_ts_to_timespec(struct tst_ts t) in tst_ts_to_timespec()
631 static inline long long tst_ts_to_ns(struct tst_ts t) in tst_ts_to_ns()
639 static inline long long tst_ts_to_us(struct tst_ts t) in tst_ts_to_us()
656 static inline long long tst_ts_to_ms(struct tst_ts t) in tst_ts_to_ms()
673 static inline struct tst_ts
676 struct tst_ts ret = {.type = type}; in tst_ts_from_ns()
687 static inline struct tst_ts
690 struct tst_ts ret = {.type = type}; in tst_ts_from_us()
710 static inline struct tst_ts
713 struct tst_ts ret = {.type = type}; in tst_ts_from_ms()
755 static inline void tst_its_set_interval_from_ts(struct tst_its *its, struct tst_ts ts) in tst_its_set_interval_from_ts()
764 static inline void tst_its_set_value_from_ts(struct tst_its *its, struct tst_ts ts) in tst_its_set_value_from_ts()
773 static inline int tst_ts_lt(struct tst_ts t1, struct tst_ts t2) in tst_ts_lt()
792 static inline struct tst_ts tst_ts_normalize(struct tst_ts t) in tst_ts_normalize()
813 static inline struct tst_ts
814 tst_ts_add_us(struct tst_ts t, long long us) in tst_ts_add_us()
816 struct tst_ts res = {.type = t.type}; in tst_ts_add_us()
830 struct tst_ts res; in tst_timespec_add_us()
840 static inline struct tst_ts
841 tst_ts_sub_us(struct tst_ts t, long long us) in tst_ts_sub_us()
843 struct tst_ts res = {.type = t.type}; in tst_ts_sub_us()
857 struct tst_ts res; in tst_timespec_sub_us()
867 static inline struct tst_ts
868 tst_ts_add(struct tst_ts t1, struct tst_ts t2) in tst_ts_add()
870 struct tst_ts res = {.type = t1.type}; in tst_ts_add()
884 struct tst_ts res; in tst_timespec_add()
894 static inline struct tst_ts
895 tst_ts_diff(struct tst_ts t1, struct tst_ts t2) in tst_ts_diff()
897 struct tst_ts res = {.type = t1.type}; in tst_ts_diff()
911 struct tst_ts res; in tst_timespec_diff()
922 tst_ts_diff_ns(struct tst_ts t1, struct tst_ts t2) in tst_ts_diff_ns()
940 tst_ts_diff_us(struct tst_ts t1, struct tst_ts t2) in tst_ts_diff_us()
958 tst_ts_diff_ms(struct tst_ts t1, struct tst_ts t2) in tst_ts_diff_ms()
975 static inline struct tst_ts
976 tst_ts_abs_diff(struct tst_ts t1, struct tst_ts t2) in tst_ts_abs_diff()
989 tst_ts_abs_diff_us(struct tst_ts t1, struct tst_ts t2) in tst_ts_abs_diff_us()
1009 tst_ts_abs_diff_ms(struct tst_ts t1, struct tst_ts t2) in tst_ts_abs_diff_ms()