diff --git a/collect_data.sh b/collect_data.sh
index 436fb3affca2cf06d439e104631b9d5dbd68a715..8746d98a004d08c5d5e9c830199ec0e6bff16cf8 100755
--- a/collect_data.sh
+++ b/collect_data.sh
@@ -157,6 +157,29 @@ doitgen() {
     rm "$tmpfile"
 }
 
+seidel_2d() {
+    target=codes/seidel-2d/seidel-2d
+
+    # accurate
+    output="$(dirname ${target})/$(basename ${target})"
+    compile "${output}.c" "${output}" "codes/seidel-2d/data.o"
+    printf "seidel-2d,,," >> ${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/seidel-2d/data.o"
+        printf "seidel-2d,%s,%s," "${x}" "${y}" >> ${LOG}
+        ./${output} >> ${LOG}
+    done < $tmpfile
+
+    rm "$tmpfile"
+}
 
 hotspot() {
     target=codes/hotspot/hotspot_openmp
@@ -187,3 +210,4 @@ deriche
 floyd_warshall
 hotspot
 doitgen
+seidel_2d