You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
463 B

#!/bin/bash
MAP_DATASIZE=6000000
THREADS="10"
ITERATIONS="3"
echo "Thread numbers: $THREAD_NUMBERS"
echo "Iteration number of each binary: $ITERATIONS"
echo "Map data size: $MAP_DATASIZE"
echo -e "\nsort algorithms:"
for map in $(ls *_sort* | grep -v '\.cpp')
do
echo "Running $map ..."
for threadnum in `seq 1 $THREADS`
do
echo "Number of threads: $threadnum"
for i in `seq 1 $ITERATIONS`
do
./$map $threadnum $MAP_DATASIZE
done
done
done