[llvm-commits] CVS: poolalloc/test/Makefile

John Criswell criswell at cs.uiuc.edu
Fri Mar 5 10:28:01 PST 2004


Changes in directory poolalloc/test:

Makefile updated: 1.13 -> 1.14

---
Log message:

Added progperf target for gathering perfctr statistics on the programs
build and tested by progtest.

And added block comments.  I like block comments.



---
Diffs of the changes:  (+32 -1)

Index: poolalloc/test/Makefile
diff -u poolalloc/test/Makefile:1.13 poolalloc/test/Makefile:1.14
--- poolalloc/test/Makefile:1.13	Fri Mar  5 09:04:27 2004
+++ poolalloc/test/Makefile	Fri Mar  5 10:27:41 2004
@@ -12,6 +12,9 @@
 include $(LEVEL)/Makefile.common
 
 
+##############################################################################
+# Targets for gathering statistics for programs for papers
+##############################################################################
 progtest::
 	(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/Olden; \
                PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=poolalloc \
@@ -39,8 +42,36 @@
                    report)
 	@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
 
+progperf::
+	(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/Olden; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   LARGE_PROBLEM_SIZE=1 report.html)
+	(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/Ptrdist; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report.html)
+	(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report.html)
+	(cd $(LLVM_OBJ_ROOT)/test/Programs/External/SPEC/CINT2000; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report.html)
+	@(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/Olden; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   LARGE_PROBLEM_SIZE=1 report)
+	@(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/Ptrdist; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report)
+	@(cd $(LLVM_OBJ_ROOT)/test/Programs/MultiSource/Benchmarks/MallocBench/cfrac; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report)
+	@(cd $(LLVM_OBJ_ROOT)/test/Programs/External/SPEC/CINT2000; \
+               PROJECT_DIR=$(BUILD_OBJ_ROOT) $(MAKE) -j1 TEST=perf \
+                   report)
+	@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
 
-
+##############################################################################
+# Targets for running tests and gathering statistics for arbitrary tests
+##############################################################################
 
 # test target - Descend into test/Programs and run the TEST.poolalloc.Makefile
 # tests...





More information about the llvm-commits mailing list