File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ for params in \
15
15
./bench " ${params} .log"
16
16
cat " ${params} .log" >> " $result_log "
17
17
echo >> " $result_log "
18
+ echo
18
19
done
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ set -eu
4
4
# CLI args.
5
5
6
6
# Each of those files contains n_ints_per_file ints.
7
- n_int_file_is =" ${1:- 10} "
7
+ n_int_files =" ${1:- 10} "
8
8
n_ints_per_file=" ${2:- 10} "
9
9
10
10
# Each function adds all ints from all files.
11
- # This leads to n_int_file_is x n_ints_per_file x n_funcs relocations.
11
+ # This leads to n_int_files x n_ints_per_file x n_funcs relocations.
12
12
n_funcs=" ${3:- 10} "
13
13
14
14
# Do a debug build, since it is for debug builds that link time matters the most,
@@ -22,7 +22,7 @@ echo "Generate i_*.c, ints.h and int_sum.h"
22
22
rm -f ints.h
23
23
echo ' return' > int_sum.h
24
24
int_file_i=0
25
- while [ " $int_file_i " -lt " $n_int_file_is " ]; do
25
+ while [ " $int_file_i " -lt " $n_int_files " ]; do
26
26
int_i=0
27
27
int_file=" ${int_file_i} .c"
28
28
rm -f " $int_file "
You can’t perform that action at this time.
0 commit comments