Lines Matching defs:res
53 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns)
58 hits_per_sec = res->hits / 1000000.0 / (delta_ns / 1000000000.0);
60 drops_per_sec = res->drops / 1000000.0 / (delta_ns / 1000000000.0);
69 void hits_drops_report_final(struct bench_res res[], int res_cnt)
76 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt);
77 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt);
82 hits_stddev += (hits_mean - res[i].hits / 1000000.0) *
83 (hits_mean - res[i].hits / 1000000.0) /
85 drops_stddev += (drops_mean - res[i].drops / 1000000.0) *
86 (drops_mean - res[i].drops / 1000000.0) /
422 struct bench_res *res = &state.results[iter];
424 bench->measure(res);
427 bench->report_progress(iter, res, delta_ns);