Lines Matching refs:res_cnt

50 void false_hits_report_final(struct bench_res res[], int res_cnt)  in false_hits_report_final()  argument
55 for (i = 0; i < res_cnt; i++) { in false_hits_report_final()
85 grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_latency_basic_stats() argument
91 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
92 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats()
95 if (res_cnt > 1) { in grace_period_latency_basic_stats()
96 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
97 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats()
104 grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_ticks_basic_stats() argument
109 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats()
110 gp_stat->mean += res[i].stime / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_ticks_basic_stats()
113 if (res_cnt > 1) { in grace_period_ticks_basic_stats()
114 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats()
115 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_ticks_basic_stats()
121 void hits_drops_report_final(struct bench_res res[], int res_cnt) in hits_drops_report_final() argument
128 for (i = 0; i < res_cnt; i++) { in hits_drops_report_final()
129 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
130 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
134 if (res_cnt > 1) { in hits_drops_report_final()
135 for (i = 0; i < res_cnt; i++) { in hits_drops_report_final()
138 (res_cnt - 1.0); in hits_drops_report_final()
141 (res_cnt - 1.0); in hits_drops_report_final()
145 (res_cnt - 1.0); in hits_drops_report_final()
171 void ops_report_final(struct bench_res res[], int res_cnt) in ops_report_final() argument
176 for (i = 0; i < res_cnt; i++) in ops_report_final()
177 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in ops_report_final()
179 if (res_cnt > 1) { in ops_report_final()
180 for (i = 0; i < res_cnt; i++) in ops_report_final()
183 (res_cnt - 1.0); in ops_report_final()
207 void local_storage_report_final(struct bench_res res[], int res_cnt) in local_storage_report_final() argument
213 for (i = 0; i < res_cnt; i++) { in local_storage_report_final()
214 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in local_storage_report_final()
215 important_hits_mean += res[i].important_hits / 1000000.0 / (0.0 + res_cnt); in local_storage_report_final()
218 if (res_cnt > 1) { in local_storage_report_final()
219 for (i = 0; i < res_cnt; i++) { in local_storage_report_final()
222 (res_cnt - 1.0); in local_storage_report_final()
226 (res_cnt - 1.0); in local_storage_report_final()
483 int res_cnt; member
701 int iter = state.res_cnt++; in collect_measurements()
745 state.res_cnt - env.warmup_sec); in main()