diff options
Diffstat (limited to 'src/sandglass_impl.h')
-rw-r--r-- | src/sandglass_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sandglass_impl.h b/src/sandglass_impl.h index 5a3650e..b618a93 100644 --- a/src/sandglass_impl.h +++ b/src/sandglass_impl.h @@ -26,6 +26,7 @@ #define SANDGLASS_IMPL_H_INCLUDED #include "sandglass.h" +#include <time.h> #ifdef SANDGLASS_TSC /* Read the time stamp counter */ @@ -36,4 +37,6 @@ double sandglass_tsc_resolution(); unsigned int sandglass_tsc_loops(); #endif +long sandglass_timespec_grains(const struct timespec *ts); + #endif /* SANDGLASS_IMPL_H_INCLUDED */
\ No newline at end of file |