void timing_stop(int t) { struct timeval now; gettimeofday(&now, NULL); timeval_accumulate(&timings[t].start, &now, &timings[t].total); }
void timing_stop(int t) { struct timing *tm; struct timeval now; tm = get_timing(t); gettimeofday(&now, NULL); timeval_accumulate(&tm->start, &now, &tm->total); }