Lines Matching full:diff
112 static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE … in bench_uprobe_format__default_fprintf() argument
115 s64 diff_to_baseline = diff - baseline, in bench_uprobe_format__default_fprintf()
116 diff_to_previous = diff - previous; in bench_uprobe_format__default_fprintf()
119 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit); in bench_uprobe_format__default_fprintf()
128 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit); in bench_uprobe_format__default_fprintf()
136 baseline = diff; in bench_uprobe_format__default_fprintf()
141 previous = diff; in bench_uprobe_format__default_fprintf()
150 u64 diff; in bench_uprobe() local
166 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec); in bench_uprobe()
167 diff /= NSEC_PER_USEC; in bench_uprobe()
171 bench_uprobe_format__default_fprintf(name, unit, diff, stdout); in bench_uprobe()
175 printf("%" PRIu64 "\n", diff); in bench_uprobe()