1 PROGRAM=JGFMonteCarloBench
3 SOURCE_FILES=JGFMonteCarloBench.java
5 BUILDSCRIPT=../../../buildscript
8 COREPROFOVERFLOW= #-coreprof-checkoverflow
9 USECOREPROF= -coreprof $(COREPROFOVERFLOW) \
10 -coreprof-eventwords 1024*1024*128 \
11 -coreprof-enable cpe_main \
12 -coreprof-enable cpe_taskdispatch
13 # -coreprof-enable cpe_runmalloc \
14 # -coreprof-enable cpe_runfree \
15 # -coreprof-enable cpe_count_poolalloc \
16 # -coreprof-enable cpe_count_poolreuse \
17 # -coreprof-enable cpe_workschedgrab \
18 # -coreprof-enable cpe_taskexecute \
19 # -coreprof-enable cpe_taskretire \
20 # -coreprof-enable cpe_taskstallvar \
21 # -coreprof-enable cpe_taskstallmem
24 USEOOO= -ooojava 24 2 -ooodebug -ooodebug-disable-task-mem-pool
25 BSFLAGS= -64bit -mainclass $(PROGRAM) -heapsize-mb 1024 -garbagestats -debug -joptimize -noloop -optimize
27 DRELEASEMODE=-disjoint-release-mode -disjoint-alias-file aliases.txt tabbed
28 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-desire-determinism
31 $(BUILDSCRIPT) -nojava $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
34 $(BUILDSCRIPT) -thread $(BSFLAGS) $(USECOREPROF) -o $(PROGRAM)s -builddir sing $(SOURCE_FILES)
37 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
40 rm -f $(PROGRAM)p.bin $(PROGRAM)s.bin