summaryrefslogtreecommitdiff
path: root/RED/baselines/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'RED/baselines/cpu')
-rwxr-xr-xRED/baselines/cpu/run-opti.sh2
-rwxr-xr-xRED/baselines/cpu/run.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/RED/baselines/cpu/run-opti.sh b/RED/baselines/cpu/run-opti.sh
index bd380c7..cb6c30b 100755
--- a/RED/baselines/cpu/run-opti.sh
+++ b/RED/baselines/cpu/run-opti.sh
@@ -6,4 +6,4 @@ echo $HOST
make -B TYPE=UINT64 verbose=1
-./red -i 1048576000 -t 4 -w 0 -e 100 | sed 's/CPU/CPU Baseline/' | tee "${HOST}-baseline.txt"
+timeout --foreground -k 1m 60m ./red -i 1048576000 -t 4 -w 0 -e 100 | sed 's/CPU/CPU Baseline/' | tee "${HOST}-baseline.txt"
diff --git a/RED/baselines/cpu/run.sh b/RED/baselines/cpu/run.sh
index 3a0fb09..a9ec81d 100755
--- a/RED/baselines/cpu/run.sh
+++ b/RED/baselines/cpu/run.sh
@@ -19,7 +19,8 @@ for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do
#for dt in UINT32 UINT64 INT32 INT64 FLOAT DOUBLE; do
for dt in UINT64; do
if make -B TYPE=${dt} verbose=1; then
- timeout -k 1m 60m ./red -i ${i} -w 0 -e 100 -t ${nr_threads} || true
+ timeout --foreground -k 1m 60m ./red -i ${i} -w 0 -e 100 -t ${nr_threads} || true
+ sleep 10
fi
done
done