Lines Matching refs:res_cnt
48 void false_hits_report_final(struct bench_res res[], int res_cnt) in false_hits_report_final() argument
53 for (i = 0; i < res_cnt; i++) { in false_hits_report_final()
83 grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_latency_basic_stats() argument
89 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
90 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats()
93 if (res_cnt > 1) { in grace_period_latency_basic_stats()
94 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
95 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats()
102 grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_ticks_basic_stats() argument
107 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats()
108 gp_stat->mean += res[i].stime / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_ticks_basic_stats()
111 if (res_cnt > 1) { in grace_period_ticks_basic_stats()
112 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats()
113 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_ticks_basic_stats()
119 void hits_drops_report_final(struct bench_res res[], int res_cnt) in hits_drops_report_final() argument
126 for (i = 0; i < res_cnt; i++) { in hits_drops_report_final()
127 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
128 drops_mean += res[i].drops / 1000000.0 / (0.0 + res_cnt); in hits_drops_report_final()
132 if (res_cnt > 1) { in hits_drops_report_final()
133 for (i = 0; i < res_cnt; i++) { in hits_drops_report_final()
136 (res_cnt - 1.0); in hits_drops_report_final()
139 (res_cnt - 1.0); in hits_drops_report_final()
143 (res_cnt - 1.0); in hits_drops_report_final()
169 void ops_report_final(struct bench_res res[], int res_cnt) in ops_report_final() argument
174 for (i = 0; i < res_cnt; i++) in ops_report_final()
175 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in ops_report_final()
177 if (res_cnt > 1) { in ops_report_final()
178 for (i = 0; i < res_cnt; i++) in ops_report_final()
181 (res_cnt - 1.0); in ops_report_final()
205 void local_storage_report_final(struct bench_res res[], int res_cnt) in local_storage_report_final() argument
211 for (i = 0; i < res_cnt; i++) { in local_storage_report_final()
212 hits_mean += res[i].hits / 1000000.0 / (0.0 + res_cnt); in local_storage_report_final()
213 important_hits_mean += res[i].important_hits / 1000000.0 / (0.0 + res_cnt); in local_storage_report_final()
216 if (res_cnt > 1) { in local_storage_report_final()
217 for (i = 0; i < res_cnt; i++) { in local_storage_report_final()
220 (res_cnt - 1.0); in local_storage_report_final()
224 (res_cnt - 1.0); in local_storage_report_final()
448 int res_cnt; member
607 int iter = state.res_cnt++; in collect_measurements()
647 state.res_cnt - env.warmup_sec); in main()