24#define _POSIX_C_SOURCE 200809L
32 return ((end->tv_sec -
start->tv_sec)
33 + ((end->tv_nsec -
start->tv_nsec) * 0.000000001));
36static inline struct timespec
39 struct timespec start_t;
40 clock_gettime(CLOCK_REALTIME, &start_t);
47 struct timespec end_t;
48 clock_gettime(CLOCK_REALTIME, &end_t);
static double bench_end(const struct timespec *start_t)
Definition bench.h:45
static struct timespec bench_start(void)
Definition bench.h:37
static double bench_elapsed_s(const struct timespec *start, const struct timespec *end)
Definition bench.h:30
virtual ASIOError start()=0
#define void
Definition unzip.h:396