run_test.pl will run the entire experiment, provided branch_mispred.c and project2.c's output are properly delimited.  Look at the script for explanation.