Searched refs:timespec_sub_to_nsec (Results 1 – 2 of 2) sorted by relevance
135 timespec_sub_to_nsec(const struct timespec *a, const struct timespec *b) in timespec_sub_to_nsec() function166 return timespec_sub_to_nsec(a, b) / 1000000; in timespec_sub_to_msec()
165 TEST(timespec_test, timespec_sub_to_nsec) in TEST() argument173 EXPECT_EQ((999LL * NSEC_PER_SEC) - 1, timespec_sub_to_nsec(&a, &b)); in TEST()