Skip to content
Snippets Groups Projects
Commit aa3a0c51 authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Delete logging file if debugging is disabled, since Raspberry Pi does

not have much space; set ram to 2 GB for Raspberry Pi compatibility
parent 2c8aa34c
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ THREADS=1 ## 1
RECURSIONDEPTH=10 ## 10
TOTALCALLS=2000000 ## 2000000
METHODTIME=0 ## 500000
DEBUG=false ## false
#MOREPARAMS="--quickstart"
MOREPARAMS="--application moobench.application.MonitoredClassSimple ${MOREPARAMS}"
......@@ -104,7 +105,7 @@ RAWFN="${RESULTSDIR}raw"
JAVAARGS="-server"
JAVAARGS="${JAVAARGS} "
JAVAARGS="${JAVAARGS} -Xms1G -Xmx4G"
JAVAARGS="${JAVAARGS} -Xms1G -Xmx2G"
JAVAARGS="${JAVAARGS} -verbose:gc -XX:+PrintCompilation"
#JAVAARGS="${JAVAARGS} -XX:+PrintInlining"
#JAVAARGS="${JAVAARGS} -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation"
......@@ -207,6 +208,10 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do
[ -f ${BASEDIR}hotspot.log ] && mv ${BASEDIR}hotspot.log ${RESULTSDIR}hotspot-${i}-${j}-${k}.log
echo >>${BASEDIR}opentelemetry.log
echo >>${BASEDIR}opentelemetry.log
if [ ! "$DEBUG" = true ]
then
rm ${RESULTSDIR}output_"$i"_opentelemetry_logging.txt
fi
sync
sleep ${SLEEPTIME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment