Home
last modified time | relevance | path

Searched refs:events_mean (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c208 static int compute_events(u64 *times, double *events_mean, double *events_stddev, u64 *mean_time) in compute_events() argument
212 *events_mean = 0; in compute_events()
220 *events_mean += events_from_time(times[i]); in compute_events()
227 *events_mean /= n; in compute_events()
231 double events_i = *events_mean - events_from_time(times[i]); in compute_events()
243 double events_mean, events_stddev; in hashmap_report_final() local
248 n = compute_events(ctx.skel->bss->percpu_times[i], &events_mean, in hashmap_report_final()
256 printf("%.3lf\n", events_mean); in hashmap_report_final()
258 printf("cpu%02d %.3lf\n", i, events_mean); in hashmap_report_final()
262 i, events_mean, 2*events_stddev, in hashmap_report_final()