########################################################################## # # This master makefile should be included in each local makefile of a # MICRO benchmark directory. Note that joptimize is disabled so # nonsensical code patterns will still generate the micro structure # desired. # ########################################################################## PROGRAM=test SOURCE_FILES=test.java BUILDSCRIPT=../../../buildscript COREPROFOVERFLOW= #-coreprof-checkoverflow USECOREPROF= -coreprof $(COREPROFOVERFLOW) \ -coreprof-eventwords 1024*1024*512 \ -coreprof-enable cpe_main \ -coreprof-enable cpe_taskdispatch # -coreprof-enable cpe_workschedgrab \ -coreprof-enable cpe_runmalloc \ -coreprof-enable cpe_taskexecute \ -coreprof-enable cpe_poolalloc \ -coreprof-enable cpe_taskretire \ -coreprof-enable cpe_preparememq \ -coreprof-enable cpe_runfree \ -coreprof-enable cpe_count_poolalloc \ -coreprof-enable cpe_count_poolreuse \ -coreprof-enable cpe_taskstallvar \ -coreprof-enable cpe_taskstallmem USEOOO= -ooojava 24 2 -squeue #-mempool-detect-misuse #-ooodebug-disable-task-mem-pool #-ooodebug USERCR= -ooojava 23 2 -rcr -squeue #-mempool-detect-misuse #-ooodebug-disable-task-mem-pool #-ooodebug BSFLAGS= -64bit -mainclass $(PROGRAM) -heapsize-mb 1000 -garbagestats -joptimize -optimize -noloop #-debug -debug-deque # src-after-pp DRELEASEMODE=-disjoint-release-mode -disjoint-dvisit-stack-callees-on-top -disjoint-alias-file aliases.txt tabbed DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-desire-determinism default: $(BUILDSCRIPT) -nojava $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES) single: $(BUILDSCRIPT) -thread $(BSFLAGS) $(USECOREPROF) -o $(PROGRAM)s -builddir sing $(SOURCE_FILES) ooo: $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES) rcr: $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USERCR) $(DISJOINT) -o $(PROGRAM)r -builddir rcr $(SOURCE_FILES) clean: rm -f $(PROGRAM)p.bin $(PROGRAM)r.bin $(PROGRAM)s.bin rm -fr par rcr sing rm -f tmp.c rm -f *~ rm -f *.dot rm -f *.png rm -f *.txt rm -f aliases.txt rm -f mlpReport*txt rm -f results*txt rm -f *log rm -f coreprof.dat rm -f trace.out