diff options
Diffstat (limited to 'src/sandglass_impl.h')
-rw-r--r-- | src/sandglass_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sandglass_impl.h b/src/sandglass_impl.h index cea95c3..07a3616 100644 --- a/src/sandglass_impl.h +++ b/src/sandglass_impl.h @@ -37,4 +37,10 @@ double sandglass_tsc_resolution(); unsigned int sandglass_tsc_loops(); #endif +void sandglass_get_currtime(struct timespec *ts); +void sandglass_timespec_add(struct timespec *ts, const struct timespec *d); +void sandglass_timespec_sub(struct timespec *ts, const struct timespec *d); +int sandglass_timespec_cmp(const struct timespec *a, const struct timespec *b); +void sandglass_spin(struct timespec *ts); + #endif /* SANDGLASS_IMPL_H_INCLUDED */
\ No newline at end of file |