Lines Matching refs:diff
107 static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE … in bench_uprobe_format__default_fprintf() argument
110 s64 diff_to_baseline = diff - baseline, in bench_uprobe_format__default_fprintf()
111 diff_to_previous = diff - previous; in bench_uprobe_format__default_fprintf()
114 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit); in bench_uprobe_format__default_fprintf()
123 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit); in bench_uprobe_format__default_fprintf()
131 baseline = diff; in bench_uprobe_format__default_fprintf()
136 previous = diff; in bench_uprobe_format__default_fprintf()
145 u64 diff; in bench_uprobe() local
161 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec); in bench_uprobe()
162 diff /= NSEC_PER_USEC; in bench_uprobe()
166 bench_uprobe_format__default_fprintf(name, unit, diff, stdout); in bench_uprobe()
170 printf("%" PRIu64 "\n", diff); in bench_uprobe()