]> git.llucax.com Git - software/dgc/dgcbench.git/blobdiff - Makefile
Tell the programs to collect statistics
[software/dgc/dgcbench.git] / Makefile
index 359f0a7ca156506b727a1a3b5bcbbc8bec7d04f9..574eeb03760a3bccfaf153993c614bced583d0b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ $O/%: %.d
 
 .PRECIOUS: $O/%.c.csv $O/%.a.csv
 $O/%.c.csv $O/%.a.csv: $O/%
 
 .PRECIOUS: $O/%.c.csv $O/%.a.csv
 $O/%.c.csv $O/%.a.csv: $O/%
-       $(P_RUN) ./$< $(args)
+       $(P_RUN) D_GC_STATS=1 ./$< $(args)
        $P mv gc-collections.csv $O/$*.c.csv
        $P mv gc-mallocs.csv $O/$*.a.csv
 
        $P mv gc-collections.csv $O/$*.c.csv
        $P mv gc-mallocs.csv $O/$*.a.csv