summaryrefslogtreecommitdiff
path: root/HST-S/baselines/cpu/run.sh
blob: 36fd28b0670bdbdf3c2d0f2501e9628b7553cc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

HOST="$(hostname)"

echo $HOST

(
echo "prim-benchmarks HST-S CPU (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"

# baseline ./hist supports -x, however -x 0 references uninitialized variables
# and likely never has been used or tested. So we'll leave that out here.

make -B verbose=1

for nr_threads in 88 64 44 32 24 20 1 2 4 6 8 12 16; do
	for i in `seq 1 20`; do
		timeout --foreground -k 1m 30m ./hist -t ${nr_threads} -i 1006632960 || true
	done
done
) | tee "${HOST}-explore.txt"