From 52e88717098b2decb373e38db3afb0976f075d3f Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 12 Feb 2012 14:16:18 +0100 Subject: [PATCH] Also run /bin/true, for fun --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98bc837..08d605f 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ JAVA_VMS = server zero cacao jamvm # see below for how this is called JAVA_INVOCS = $(JAVA_VMS:%="java -cp java -% Null") +EXTRA_RUN = /bin/true + REPS = 100 all: $(PROGS) java/Null.class @@ -89,7 +91,7 @@ java/Null.class: java/Null.java Makefile log: $(PROGS) $(SCRIPTS) java/Null.class Makefile rm -f log; \ - for prog in $(PROGS:%=./%) $(SCRIPTS:%=./%) $(JAVA_INVOCS); do \ + for prog in $(PROGS:%=./%) $(SCRIPTS:%=./%) $(EXTRA_RUN) $(JAVA_INVOCS); do \ echo $$prog; \ for metric in $(METRICS); do \ LC_ALL=C perf stat -e "$$metric" -r $(REPS) -o log --append $$prog; \ -- 2.39.5