5 BUILDSCRIPT=../../../buildscript
7 COREPROFOVERFLOW= #-coreprof-checkoverflow
8 USECOREPROF= #-coreprof $(COREPROFOVERFLOW) \
9 -coreprof-eventwords 1024*1024*128 \
10 -coreprof-enable cpe_main \
11 -coreprof-enable cpe_runmalloc \
12 -coreprof-enable cpe_runfree \
13 -coreprof-enable cpe_count_poolalloc \
14 -coreprof-enable cpe_count_poolreuse \
15 -coreprof-enable cpe_workschedgrab \
16 -coreprof-enable cpe_taskdispatch \
17 -coreprof-enable cpe_taskexecute \
18 -coreprof-enable cpe_taskretire
19 # -coreprof-enable cpe_taskstallvar \
20 # -coreprof-enable cpe_taskstallmem
23 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions #-disjoint-desire-determinism
25 USEOOO= -ooojava 24 2 -ooodebug -squeue
26 USERCR= -ooojava 23 2 -rcr -ooodebug -squeue
28 BSFLAGS= -justanalyze -mainclass $(PROGRAM) -heapsize-mb 1024 -garbagestats -noloop -joptimize -debug #-ooodebug-disable-task-mem-pool -64bit
35 $(BUILDSCRIPT) $(BSFLAGS) -thread -o $(PROGRAM)s -builddir sing $(SOURCE_FILES)
40 $(PROGRAM)p.bin: $(SOURCE_FILES) makefile
41 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
45 $(PROGRAM)r.bin: $(SOURCE_FILES) makefile
46 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USERCR) $(DISJOINT) -o $(PROGRAM)r -builddir rcr $(SOURCE_FILES)
50 rm -f $(PROGRAM)p.bin $(PROGRAM)r.bin $(PROGRAM)s.bin