Lines Matching +full:two +full:-
39 i = finish.tv_sec - start.tv_sec;
41 i += finish.tv_nsec - start.tv_nsec;
43 ksft_print_msg("%lu.%09lu - %lu.%09lu = %llu (%.1fs)\n",
71 i = finish.tv_sec - start.tv_sec;
73 i += finish.tv_nsec - start.tv_nsec;
86 double two = i_two, two_bump = two * 0.1;
89 two_bump = two + MAX(two_bump, 2.0);
92 if (one == two ||
93 (one > two && one <= two_bump) ||
94 (two > one && two <= one_bump))
107 unsigned long long one, bool (*eval)(int, int), unsigned long long two,
119 (long long)one, name_eval, (long long)two);
125 if (two > INT_MAX) {
126 ksft_print_msg("Miscalculation! Measurement went negative: %lld\n", (long long)two);
131 good = eval(one, two);
152 for (cpu = ncores - 1; cpu >= 0; cpu--) {
155 if (sched_setaffinity(getpid(), setsz, setp) == -1)
160 fprintf(stderr, "Could not set CPU affinity -- calibration may not work well");
198 system("uname -a");
203 system("grep -H . /proc/sys/net/core/bpf_jit_enable");
205 system("grep -H . /proc/sys/net/core/bpf_jit_harden");
262 bitmap1 - native);
264 bitmap2 - native);
266 filter1 - native);
268 filter2 - native);
270 bitmap1 - native - (bitmap2 - bitmap1));
271 ESTIMATE("seccomp per-filter overhead (last 2 diff)", per_filter1,
272 filter2 - filter1);
273 ESTIMATE("seccomp per-filter overhead (filters / 4)", per_filter2,
274 (filter2 - native - entry) / 4);
284 ret |= compare("per-filter (last 2 diff)", "≈", "per-filter (filters / 4)",
288 bitmap1 - native, approx, bitmap2 - native, skip);
295 bitmap1 - native, skip);
297 bitmap2 - native, skip);