diff options
Diffstat (limited to 'support/timespec.h')
-rw-r--r-- | support/timespec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/support/timespec.h b/support/timespec.h index c5852dfe75..fd5466745d 100644 --- a/support/timespec.h +++ b/support/timespec.h @@ -48,6 +48,14 @@ void test_timespec_equal_or_after_impl (const char *file, int line, const struct timespec left, const struct timespec right); +long support_timespec_ns (struct timespec time); + +struct timespec support_timespec_normalize (struct timespec time); + +int support_timespec_check_in_range (struct timespec expected, struct timespec observed, + double lower_bound, double upper_bound); + + /* Check that the timespec on the left represents a time before the time on the right. */ #define TEST_TIMESPEC_BEFORE(left, right) \ |