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

Add runExponentialSizes for inspectIT

parent 3e29b122
No related branches found
No related tags found
No related merge requests found
...@@ -141,8 +141,8 @@ for ((i=1;i<=${NUM_OF_LOOPS};i+=1)); do ...@@ -141,8 +141,8 @@ for ((i=1;i<=${NUM_OF_LOOPS};i+=1)); do
printIntermediaryResults printIntermediaryResults
done done
mv ${BASE_DIR}inspectit.log ${RESULTS_DIR}inspectit.log mv ${BASE_DIR}/inspectit.log ${RESULTS_DIR}/inspectit.log
[ -f ${RESULTS_DIR}hotspot-1-${RECURSION_DEPTH}-1.log ] && grep "<task " ${RESULTS_DIR}hotspot-*.log >${RESULTS_DIR}log.log [ -f ${RESULTS_DIR}Hotspot-1-${RECURSION_DEPTH}-1.log ] && grep "<task " ${RESULTS_DIR}hotspot-*.log >${RESULTS_DIR}log.log
[ -f ${BASE_DIR}errorlog.txt ] && mv ${BASE_DIR}errorlog.txt ${RESULTS_DIR} [ -f ${BASE_DIR}errorlog.txt ] && mv ${BASE_DIR}errorlog.txt ${RESULTS_DIR}
# Create R labels # Create R labels
...@@ -150,7 +150,7 @@ LABELS=$(createRLabels) ...@@ -150,7 +150,7 @@ LABELS=$(createRLabels)
run-r run-r
## Clean up raw results ## Clean up raw results
zip -jqr ${RESULTSDIR}results.zip ${RAWFN}* zip -jqr ${RESULTS_DIR}/results.zip ${RAWFN}*
rm -f ${RAWFN}* rm -f ${RAWFN}*
[ -f ${BASE_DIR}nohup.out ] && cp ${BASE_DIR}nohup.out ${RESULTSDIR} [ -f ${BASE_DIR}nohup.out ] && cp ${BASE_DIR}nohup.out ${RESULTS_DIR}
[ -f ${BASE_DIR}nohup.out ] && > ${BASE_DIR}nohup.out [ -f ${BASE_DIR}nohup.out ] && > ${BASE_DIR}nohup.out
#!/bin/bash
RESULTS_DIR=results-inspectIT/
mkdir -p $RESULTS_DIR
for depth in 2 4 8 16 32 64 128
do
export RECURSION_DEPTH=$depth
echo "Running $depth"
./benchmark.sh &> $RESULTS_DIR/$depth.txt
mv $RESULTS_DIR/results.zip $RESULTS_DIR/results-$RECURSION_DEPTH.zip
done
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