tv_diff 251 tools/perf/bench/mem-functions.c struct timeval tv_start, tv_end, tv_diff; tv_diff 266 tools/perf/bench/mem-functions.c timersub(&tv_end, &tv_start, &tv_diff); tv_diff 268 tools/perf/bench/mem-functions.c return (double)(((double)size * nr_loops) / timeval2double(&tv_diff)); tv_diff 325 tools/perf/bench/mem-functions.c struct timeval tv_start, tv_end, tv_diff; tv_diff 340 tools/perf/bench/mem-functions.c timersub(&tv_end, &tv_start, &tv_diff); tv_diff 342 tools/perf/bench/mem-functions.c return (double)(((double)size * nr_loops) / timeval2double(&tv_diff)); tv_diff 212 tools/testing/selftests/x86/test_vsyscall.c d1 = tv_diff(tv_other, tv_sys1); tv_diff 213 tools/testing/selftests/x86/test_vsyscall.c d2 = tv_diff(tv_sys2, tv_other);