We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637a4fd commit 4cf0a2eCopy full SHA for 4cf0a2e
generate-benchmarks.sh
@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+BID=0
3
+RANDOM=$(date +%s)
4
+rm -rf generated-benchmarks
5
+mkdir generated-benchmarks
6
+while [ "$BID" -lt "$DAEDALUZZ_NUM_BENCHMARKS" ]; do
7
+ SEED=$(od -vAn -N4 -tu4 < /dev/urandom | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
8
+ SEED=$((SEED % 9223372036854775808))
9
+ FILE_NAME="generated-benchmarks/maze-$BID-$SEED.c"
10
+ DAEDALUZZ_SEED=$SEED DAEDALUZZ_OUTPUT_FILE_NAME=$FILE_NAME DAEDALUZZ_STATEFUL=1 ./daedaluzz
11
+ BID=$((BID + 1))
12
+done
0 commit comments