6 if(0 != gettimeofday((
struct timeval *)t, NULL))
13 r->tv_sec = a->tv_sec - b->tv_sec;
14 r->tv_usec = a->tv_usec - b->tv_usec;
19 r->tv_usec += 1000000;
26 return (
double)t->tv_sec + (((double)t->tv_usec) / 1000000);
void tw_error(const char *file, int line, const char *fmt,...) NORETURN
void tw_wall_now(tw_wtime *t)
void tw_wall_sub(tw_wtime *r, tw_wtime *a, tw_wtime *b)
double tw_wall_to_double(tw_wtime *t)