From: Leandro Lucarella Date: Sat, 19 Sep 2009 20:51:31 +0000 (-0300) Subject: Tell the programs to collect statistics X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/commitdiff_plain/f430308cdc808f9a511e4d0518fa75bffa223dd4 Tell the programs to collect statistics Pass the environment variable D_GC_STATS=1 to programs when running them to tell them to collect GC statistics, just in case the collector don't do it by default and understand the meaning of the environment variable. --- diff --git a/Makefile b/Makefile index 359f0a7..574eeb0 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ $O/%: %.d .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