added tools to test branch perdiction performance

This commit is contained in:
Nils K
2020-04-19 19:07:46 +02:00
parent e214510956
commit 7ae8d72435
5 changed files with 237 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
./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