diff --git a/benchmark.cpp b/benchmark.cpp index 0c4de6a..78a1445 100644 --- a/benchmark.cpp +++ b/benchmark.cpp @@ -80,7 +80,7 @@ void runSpecific(){ for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset(); - std::cout << '.'; + (std::cout << '.').flush(); //Solve the problem problem->solve(); //Get the time data @@ -111,7 +111,7 @@ void runAllShort(){ for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset(); - std::cout << '.'; + (std::cout << '.').flush(); //Solve the problem problem->solve(); //Get the time data @@ -139,7 +139,7 @@ void runAll(){ for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset(); - std::cout << '.'; + (std::cout << '.').flush(); //Solve the problem problem->solve(); //Get the time data