Added some flushes to make sure the progress dots

are being printed
This commit is contained in:
2020-07-08 20:56:18 -04:00
parent e024368cf6
commit f7dc9356cb

View File

@@ -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