echo -accurateprofile build with accurate profile information including pre/post task processing info
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
echo Multicore GC options
echo -perfcount performance counters
TILERA_PAGE_SIZE="0x10000"
TILERA_PAGE_SIZE_BITS="16"
TILERA_NUM_BLOCKS="20"
-TILERA_NUM_PAGES_PER_BLOCK="16"
+TILERA_NUM_PAGES_PER_BLOCK="16"
+GCCACHECOHERENTFLAG=false
if [[ -z $1 ]]
then
elif [[ $1 = '-useio' ]]
then
USEIOFLAG=true
+elif [[ $1 = '-gccachecoherenton' ]]
+then
+GCCACHECOHERENTFLAG=true
elif [[ $1 = '-taskstate' ]]
then
JAVAOPTS="$JAVAOPTS -taskstate"
TILERACFLAGS="${TILERACFLAGS} -DGC_CACHE_SAMPLING"
fi
+if $GCCACHECOHERENTFLAG
+then # gc cache coherent version
+TILERACFLAGS="${TILERACFLAGS} -DGC_CACHE_COHERENT_ON"
+fi
+
if $PMCFLAG
then
cp $ROBUSTROOT/Tilera/Runtime/PMC/$MAKEFILE ./Makefile