Skip to content
Snippets Groups Projects
Commit 7e323657 authored by Daniel Maier's avatar Daniel Maier
Browse files

collect data for doitgen

parent 2f3a4ae3
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,30 @@ floyd_warshall() {
rm "$tmpfile"
}
doitgen() {
target=codes/doitgen/doitgen
# accurate
output="$(dirname ${target})/$(basename ${target})"
compile "${output}.c" "${output}" "codes/doitgen/data.o"
printf "doitgen,,," >> ${LOG}
./${output} >> ${LOG}
get_scop "${target}.c" "${target}_perf.c"
get_info "${target}.c.openscop"
while read x y; do
output="$(dirname ${target})/${x}_${y}_$(basename ${target})"
perforate "${target}.c" "${output}.c" "$x" "$y"
echo compile "${output}.c" "${output}"
compile "${output}.c" "${output}" "codes/doitgen/data.o"
printf "doitgen,%s,%s," "${x}" "${y}" >> ${LOG}
./${output} >> ${LOG}
done < $tmpfile
rm "$tmpfile"
}
hotspot() {
target=codes/hotspot/hotspot_openmp
......@@ -162,3 +186,4 @@ jacobi
deriche
floyd_warshall
hotspot
doitgen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment