12 echo "** Performance test for application benchmarks **"
13 # Run in all-core configuration
14 if [ ! -d "all-core" ]; then
18 echo "Running each benchmark with multiple cores for ${TOTAL_RUN} times"
19 #rm all-core/*.log 2> /dev/null
23 python calculator.py all-core
26 # Run in single-core configuration
27 if [ ! -d "single-core" ]; then
31 echo "Running each benchmark with a single core for ${TOTAL_RUN} times"
32 #rm single-core/*.log 2> /dev/null
33 taskset -c 0 ./run.sh $TOTAL_RUN
36 python calculator.py single-core