Home
last modified time | relevance | path

Searched refs:op_cnt (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dhtab_mem_bench.c27 long op_cnt = 0; variable
63 __sync_fetch_and_add(&op_cnt, 1); in overwrite()
79 __sync_fetch_and_add(&op_cnt, 2); in batch_add_batch_del()
91 __sync_fetch_and_add(&op_cnt, 1); in add_only()
103 __sync_fetch_and_add(&op_cnt, 1); in del_only()
/tools/testing/selftests/bpf/benchs/
A Dbench_htab_mem.c294 res->hits = atomic_swap(&ctx.skel->bss->op_cnt, 0) / env.producer_cnt; in htab_mem_measure()

Completed in 17 milliseconds