Files
spectre_project/branch_predict_test/test.sh

8 lines
372 B
Bash

./branch_predict generate 5000000 10 10 > unsorted_sample01.txt
./branch_predict sort unsorted_sample01.txt > issorted_sample01.txt
echo "head of unsorted_sample01.txt" >> output.txt
head unsorted_sample01.txt >> output.txt
echo "\n" >> output.txt
./branch_predict measure unsorted_sample01.txt >> output.txt
./branch_predict measure issorted_sample01.txt >> output.txt