1 #!/bin/bash 2 # SPDX-License-Identifier: GPL-2.0 3 4 source ./benchs/run_common.sh 5 6 set -eufo pipefail 7 8 for t in 1 4 8 12 16; do 9 for i in 10 100 500 1000 5000 10000 50000 100000 500000 1000000; do 10 subtitle "nr_loops: $i, nr_threads: $t" 11 summarize_ops "bpf_loop: " \ 12 "$($RUN_BENCH -p $t --nr_loops $i bpf-loop)" 13 printf "\n" 14 done 15 done
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.