Searched refs:res_cnt (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/bpf/ |
D | bench.c | 49 void false_hits_report_final(struct bench_res res[], int res_cnt) in false_hits_report_final() argument 54 for (i = 0; i < res_cnt; i++) { in false_hits_report_final() 84 grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_latency_basic_stats() argument 90 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats() 91 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats() 94 if (res_cnt > 1) { in grace_period_latency_basic_stats() 95 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats() 96 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats() 103 grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_ticks_basic_stats() argument 108 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats() [all …]
|
D | bench.h | 59 void (*report_final)(struct bench_res res[], int res_cnt); 71 void hits_drops_report_final(struct bench_res res[], int res_cnt); 73 void false_hits_report_final(struct bench_res res[], int res_cnt); 75 void ops_report_final(struct bench_res res[], int res_cnt); 78 void local_storage_report_final(struct bench_res res[], int res_cnt); 79 void grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, 81 void grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt,
|
/tools/testing/selftests/bpf/benchs/ |
D | bench_htab_mem.c | 309 static void htab_mem_report_final(struct bench_res res[], int res_cnt) in htab_mem_report_final() argument 316 for (i = 0; i < res_cnt; i++) { in htab_mem_report_final() 317 loop_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in htab_mem_report_final() 318 mem_mean += res[i].gp_ct / 1048576.0 / (0.0 + res_cnt); in htab_mem_report_final() 320 if (res_cnt > 1) { in htab_mem_report_final() 321 for (i = 0; i < res_cnt; i++) { in htab_mem_report_final() 324 (res_cnt - 1.0); in htab_mem_report_final() 327 (res_cnt - 1.0); in htab_mem_report_final()
|
D | bench_local_storage_create.c | 218 static void report_final(struct bench_res res[], int res_cnt) in report_final() argument 224 for (i = 0; i < res_cnt; i++) { in report_final() 225 creates_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in report_final() 230 if (res_cnt > 1) { in report_final() 231 for (i = 0; i < res_cnt; i++) in report_final() 234 (res_cnt - 1.0); in report_final()
|
D | bench_local_storage_rcu_tasks_trace.c | 224 static void report_final(struct bench_res res[], int res_cnt) in report_final() argument 228 grace_period_latency_basic_stats(res, res_cnt, &gp_stat); in report_final() 231 grace_period_ticks_basic_stats(res, res_cnt, &gp_stat); in report_final()
|
D | bench_bpf_hashmap_full_update.c | 65 static void hashmap_report_final(struct bench_res res[], int res_cnt) in hashmap_report_final() argument
|
D | bench_bpf_hashmap_lookup.c | 240 static void hashmap_report_final(struct bench_res res[], int res_cnt) in hashmap_report_final() argument
|