Lines Matching refs:diff
1107 struct timeval start0, start, stop, diff; in worker_thread() local
1212 timersub(&stop, &start0, &diff); in worker_thread()
1213 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread()
1255 timersub(&stop, &start, &diff); in worker_thread()
1256 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1257 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1268 timersub(&stop, &start0, &diff); in worker_thread()
1269 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1270 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1276 timersub(&stop, &start0, &diff); in worker_thread()
1277 td->runtime_ns = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1278 td->runtime_ns += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1505 struct timeval start, stop, diff; in __bench_numa() local
1569 timersub(&stop, &start, &diff); in __bench_numa()
1571 startup_sec = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1572 startup_sec += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()
1609 timersub(&stop, &start, &diff); in __bench_numa()
1616 runtime_sec_max = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1617 runtime_sec_max += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()