Searched refs:producer_cnt (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | bench.c | 21 .producer_cnt = 1, 73 hits_per_prod = hits_per_sec / env.producer_cnt; in hits_drops_report_progress() 151 hits_mean, hits_stddev, hits_mean / env.producer_cnt); in hits_drops_report_final() 163 hits_per_prod = hits_per_sec / env.producer_cnt; in ops_report_progress() 187 hits_mean, hits_stddev, hits_mean / env.producer_cnt); in ops_report_final() 188 printf("latency %8.3lf ns/op\n", 1000.0 / hits_mean * env.producer_cnt); in ops_report_final() 325 env.producer_cnt = strtol(arg, NULL, 10); in parse_arg() 326 if (env.producer_cnt <= 0) { in parse_arg() 597 state.producers = calloc(env.producer_cnt, sizeof(*state.producers)); in setup_benchmark() 628 for (i = 0; i < env.producer_cnt; i++) { in setup_benchmark()
|
D | bench.h | 29 int producer_cnt; member
|
/Linux-v6.6/tools/testing/selftests/bpf/benchs/ |
D | bench_htab_mem.c | 98 if (!strcmp(use_cases[2].name, args.use_case) && env.producer_cnt % 2) { in htab_mem_validate() 112 nr = (env.producer_cnt + 1) / 2; in htab_mem_bench_init_barriers() 132 nr = (env.producer_cnt + 1) / 2; in htab_mem_bench_exit_barriers() 199 ctx.skel->bss->nr_thread = env.producer_cnt; in htab_mem_setup() 295 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt; in htab_mem_measure()
|
D | bench_local_storage_create.c | 109 threads = calloc(env.producer_cnt, sizeof(*threads)); in setup() 116 for (i = 0; i < env.producer_cnt; i++) { in setup() 214 creates_per_sec, creates_per_sec / env.producer_cnt); in report_progress() 238 creates_mean, creates_stddev, creates_mean / env.producer_cnt); in report_final()
|
D | bench_count.c | 38 ctx->hits = calloc(env.producer_cnt, sizeof(*ctx->hits)); in count_local_setup() 59 for (i = 0; i < env.producer_cnt; i++) { in count_local_measure()
|
D | bench_rename.c | 16 if (env.producer_cnt != 1) { in validate()
|
D | bench_local_storage_rcu_tasks_trace.c | 71 if (env.producer_cnt != 1) { in validate()
|
D | bench_local_storage.c | 73 if (env.producer_cnt != 1) { in validate()
|
D | bench_ringbufs.c | 103 if (args.back2back && env.producer_cnt > 1) { in bufs_validate()
|