Lines Matching refs:diff
1093 struct timeval start0, start, stop, diff; in worker_thread() local
1195 timersub(&stop, &start0, &diff); in worker_thread()
1196 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread()
1238 timersub(&stop, &start, &diff); in worker_thread()
1239 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1240 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1251 timersub(&stop, &start0, &diff); in worker_thread()
1252 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1253 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1259 timersub(&stop, &start0, &diff); in worker_thread()
1260 td->runtime_ns = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1261 td->runtime_ns += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1487 struct timeval start, stop, diff; in __bench_numa() local
1547 timersub(&stop, &start, &diff); in __bench_numa()
1549 startup_sec = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1550 startup_sec += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()
1583 timersub(&stop, &start, &diff); in __bench_numa()
1590 runtime_sec_max = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1591 runtime_sec_max += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()