Commit f3be8ec56610dce2f0e508132c62fa1794dc26f2
Merge branch 'master' of https://github.com/biometrics/openbr
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/openbr_plugin.cpp
| @@ -866,6 +866,7 @@ void br::Context::printStatus() | @@ -866,6 +866,7 @@ void br::Context::printStatus() | ||
| 866 | if (p < 1) { | 866 | if (p < 1) { |
| 867 | int s = timeRemaining(); | 867 | int s = timeRemaining(); |
| 868 | fprintf(stderr,"%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g \r", p*100, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep); | 868 | fprintf(stderr,"%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g \r", p*100, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep); |
| 869 | + fflush(stderr); | ||
| 869 | } | 870 | } |
| 870 | } | 871 | } |
| 871 | 872 |