Lines Matching refs:diff
1156 struct timeval start0, start, stop, diff; in worker_thread() local
1261 timersub(&stop, &start0, &diff); in worker_thread()
1262 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread()
1305 timersub(&stop, &start, &diff); in worker_thread()
1306 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1307 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1318 timersub(&stop, &start0, &diff); in worker_thread()
1319 runtime_ns_max = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1320 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1326 timersub(&stop, &start0, &diff); in worker_thread()
1327 td->runtime_ns = diff.tv_sec * NSEC_PER_SEC; in worker_thread()
1328 td->runtime_ns += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1565 struct timeval start, stop, diff; in __bench_numa() local
1629 timersub(&stop, &start, &diff); in __bench_numa()
1631 startup_sec = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1632 startup_sec += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()
1669 timersub(&stop, &start, &diff); in __bench_numa()
1676 runtime_sec_max = diff.tv_sec * NSEC_PER_SEC; in __bench_numa()
1677 runtime_sec_max += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()