Commits

Anonymous committed 63c8eed

change benchmark from runtest, added benchmark-{gcc,icc,o64}

Comments (0)

Files changed (1)

 repeat_times=300
 #repeat_times=1
 
-# print command and time output to standard error
-runtest: ${ALL}
+BENCHMARK = \
 	for i in  $^; \
 	do \
 	printf "%s %d %d %d " \
 	./$$i ${num_c} ${num_s} ${repeat_times} 1>&2; \
 	time ./$$i ${num_c} ${num_s} ${repeat_times}; \
 	done
+
+# print command and time output to standard error
+benchmark: ${ALL}
+	${BENCHMARK}
+benchmark-gcc: ${ALL_GCC}
+	${BENCHMARK}
+benchmark-icc: ${ALL_ICC}
+	${BENCHMARK}
+benchmark-o64: ${ALL_O64}
+	${BENCHMARK}