Lines Matching refs:diff
1029 struct timeval start0, start, stop, diff; in worker_thread() local
1130 timersub(&stop, &start0, &diff); in worker_thread()
1131 if ((u32)diff.tv_sec >= g->p.nr_secs) { in worker_thread()
1173 timersub(&stop, &start, &diff); in worker_thread()
1174 runtime_ns_max = diff.tv_sec * 1000000000; in worker_thread()
1175 runtime_ns_max += diff.tv_usec * 1000; in worker_thread()
1186 timersub(&stop, &start0, &diff); in worker_thread()
1187 runtime_ns_max = diff.tv_sec * 1000000000ULL; in worker_thread()
1188 runtime_ns_max += diff.tv_usec * 1000ULL; in worker_thread()
1194 timersub(&stop, &start0, &diff); in worker_thread()
1195 td->runtime_ns = diff.tv_sec * 1000000000ULL; in worker_thread()
1196 td->runtime_ns += diff.tv_usec * 1000ULL; in worker_thread()
1414 struct timeval start, stop, diff; in __bench_numa() local
1474 timersub(&stop, &start, &diff); in __bench_numa()
1476 startup_sec = diff.tv_sec * 1000000000.0; in __bench_numa()
1477 startup_sec += diff.tv_usec * 1000.0; in __bench_numa()
1510 timersub(&stop, &start, &diff); in __bench_numa()
1517 runtime_sec_max = diff.tv_sec * 1000000000.0; in __bench_numa()
1518 runtime_sec_max += diff.tv_usec * 1000.0; in __bench_numa()