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
25 # Run in single-core configuration
26 if [ ! -d "single-core" ]; then
30 echo "Running each benchmark with a single core for ${TOTAL_RUN} times"
31 #rm single-core/*.log 2> /dev/null
32 taskset -c 0 ./run.sh $TOTAL_RUN
35 python calculator.py single-core