thesis version

This commit is contained in:
2021-05-10 18:11:23 +02:00
commit 8d0b353391
152 changed files with 28007 additions and 0 deletions

15
ctbenchmarks/run_ct Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
repetitions=$1; shift
cxx=g++
for mode in $*; do
:>"data/ct_${mode}"
for f in $(ls srcs|grep -E "^main_${mode}_[0-9]+.cpp"); do
n=$(echo ${f}|cut -d'_' -f5|cut -d'.' -f1)
for i in $(seq ${repetitions}); do
echo>>"data/ct_${mode}" "${n}:$( (time -p ${cxx} -O2 -pthread -I../src -o build/null "srcs/${f}") 2>&1|tr '\n' ':')"
done
done
done