summaryrefslogtreecommitdiff
path: root/UNI/baselines/cpu/run-opti.sh
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-31 16:12:59 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-31 16:12:59 +0200
commit0f710b4f47dfc51e3f01473995dbb6ed5844eff1 (patch)
treef4ad22c9734851a1c5a03a83e2db93b5ef343548 /UNI/baselines/cpu/run-opti.sh
parentbcdc04a1e66804be8789ad3b7cd7cf9c4353a05e (diff)
port UNI to dfatool
Diffstat (limited to 'UNI/baselines/cpu/run-opti.sh')
-rwxr-xr-xUNI/baselines/cpu/run-opti.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/UNI/baselines/cpu/run-opti.sh b/UNI/baselines/cpu/run-opti.sh
new file mode 100755
index 0000000..0a3a4a3
--- /dev/null
+++ b/UNI/baselines/cpu/run-opti.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+HOST="$(hostname)"
+
+echo $HOST
+
+make clean
+
+make run_O0 | sed 's/CPU/CPU O0/' | tee "${HOST}-O0.txt"
+
+make run_O2 | sed 's/CPU/CPU O2/' | tee "${HOST}-O2.txt"