Lines Matching refs:diff
1034 struct timeval start0, start, stop, diff; in worker_thread() local
1136 timersub(&stop, &start0, &diff); in worker_thread()
1137 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread()
1179 timersub(&stop, &start, &diff); in worker_thread()
1180 runtime_ns_max = diff.tv_sec * 1000000000; in worker_thread()
1181 runtime_ns_max += diff.tv_usec * 1000; in worker_thread()
1192 timersub(&stop, &start0, &diff); in worker_thread()
1193 runtime_ns_max = diff.tv_sec * 1000000000ULL; in worker_thread()
1194 runtime_ns_max += diff.tv_usec * 1000ULL; in worker_thread()
1200 timersub(&stop, &start0, &diff); in worker_thread()
1201 td->runtime_ns = diff.tv_sec * 1000000000ULL; in worker_thread()
1202 td->runtime_ns += diff.tv_usec * 1000ULL; in worker_thread()
1427 struct timeval start, stop, diff; in __bench_numa() local
1487 timersub(&stop, &start, &diff); in __bench_numa()
1489 startup_sec = diff.tv_sec * 1000000000.0; in __bench_numa()
1490 startup_sec += diff.tv_usec * 1000.0; in __bench_numa()
1523 timersub(&stop, &start, &diff); in __bench_numa()
1530 runtime_sec_max = diff.tv_sec * 1000000000.0; in __bench_numa()
1531 runtime_sec_max += diff.tv_usec * 1000.0; in __bench_numa()