aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/Makefile
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-06-19 15:26:09 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-06-19 15:26:09 +0200
commit3652fd819ce652bc97c47f95d88e400139931524 (patch)
tree9529f785d7379e49905d68253c00253aa5280c31 /test/monniaux/Makefile
parent4b45c51d3d9a19abcc54273cc5cfa51b70352a49 (diff)
downloadcompcert-kvx-3652fd819ce652bc97c47f95d88e400139931524.tar.gz
compcert-kvx-3652fd819ce652bc97c47f95d88e400139931524.zip
Adding measures graph generation in the Makefile
Diffstat (limited to 'test/monniaux/Makefile')
-rw-r--r--test/monniaux/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/monniaux/Makefile b/test/monniaux/Makefile
index 0831a93c..b436c034 100644
--- a/test/monniaux/Makefile
+++ b/test/monniaux/Makefile
@@ -2,7 +2,7 @@
CCOMP?=ccomp
-all: compile_times.pdf
+all: compile_times.pdf measure_times.k1c.pdf
verifier_times.txt: Asmblockdeps.patch
patch ../../extraction/Asmblockdeps.ml < $<
@@ -16,9 +16,17 @@ oracle_times.txt: PostpassSchedulingOracle.patch
bash clean_benches.sh
bash build_benches.sh $@
+measures.csv:
+ (cd ../../ && make -j20 && make install)
+ bash build_benches.sh
+ bash run_benches.sh $@
+
compile_times.pdf: gencompile.py verifier_times.txt oracle_times.txt
python3.6 $^ $@
+measure_times.k1c.pdf: gengraphs.py measures.csv
+ python3.6 $^ $(basename $(basename $@))
+
.PHONY:
clean:
- rm -f verifier_times.txt oracle_times.txt compile_times.pdf
+ rm -f verifier_times.txt oracle_times.txt compile_times.pdf measure_times.k1c.pdf measures.csv