From 1f6cb381b91fc40d1e6b7c6ae1f022077f6091de Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Fri, 10 Apr 2020 23:17:14 +0200 Subject: for running benchmarks on marte --- test/monniaux/minisat/Makefile.on_marte | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/monniaux/minisat/Makefile.on_marte (limited to 'test/monniaux/minisat/Makefile.on_marte') diff --git a/test/monniaux/minisat/Makefile.on_marte b/test/monniaux/minisat/Makefile.on_marte new file mode 100644 index 00000000..af7b9145 --- /dev/null +++ b/test/monniaux/minisat/Makefile.on_marte @@ -0,0 +1,16 @@ +EXE=minisat.ccomp.exe minisat.ccomp.trace-linearize.exe \ + minisat.gcc-O3.exe \ + minisat.ccomp.profiled.exe minisat.gcc-O3.profiled.exe + +LOG=$(EXE:.exe=.dat) + +all: $(LOG) + +%.log : %.exe + rm -f $@ + for i in `seq 1 1000` ; do ./$< sudoku.sat >> $@; done + +%.dat : %.log + grep 'time cycles: ' $< | sed -e 's/time cycles: //' | awk '{ total += $$1; count++ } END { print total/count }' > $@ + +.SECONDARY: -- cgit