echo -profile_interrupt build with profile information of interrupts
echo "-useio use standard io to output profiling data (should be used together with -raw and -profile), it only works with single core version"
echo -gccachecoherent turns on the cache coherence during gc
+echo -inputfile enables reading input files in Tilera
echo
echo Multicore GC options
echo -perfcount performance counters
TILERA_PAGE_SIZE_BITS="16"
TILERA_NUM_BLOCKS="20"
TILERA_NUM_PAGES_PER_BLOCK="16"
+INPUTFILEFLAG=false
+INPUTFILES=''
GCCACHECOHERENTFLAG=false
COMPILER_HEAP_SIZE="1500"
then
MGCFLAG=true
JAVAOPTS="$JAVAOPTS -mgc"
+elif [[ $1 = '-inputfile' ]]
+then
+INPUTFILEFLAG=true
+INPUTFILES="$INPUTFILES $2"
+shift
elif [[ $1 = '-mgcintel' ]]
then
MGCINTELFLAG=true
fi
fi
+# transfer the input files
+
+if $INPUTFILEFLAG
+then
+if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx${COMPILER_HEAP_SIZE}m -classpath $ROBUSTROOT Util.InputFileTranslator \
+ -dir $BUILDDIR $INPUTFILES
+ then exit $?
+fi
+fi
+
# after executing Main, if -justanalyze flag, just exit
if $EXITAFTERANALYSIS
then
export TILERACFLAGS="-DTASK -DMULTICORE -DCLOSE_PRINT -DTILERA"
fi
+if $INPUTFILEFLAG
+then
+TILERACFLAGS="${TILERACFLAGS} -DINPUTFILE"
+fi
+
if $GCTBLDEBUGFLAG
then
TILERACFLAGS="${TILERACFLAGS} -DGC_TBL_DEBUG"