Commit fdfdd566ec363a35c331d85467313dd1135358a1
1 parent
4af37848
A few more progress message additions
Showing
1 changed file
with
2 additions
and
2 deletions
openbr/plugins/misc.cpp
| ... | ... | @@ -522,7 +522,7 @@ class ProgressCounterTransform : public TimeVaryingTransform |
| 522 | 522 | float p = br_progress(); |
| 523 | 523 | int s = br_time_remaining(); |
| 524 | 524 | |
| 525 | - 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); | |
| 525 | + fprintf(stderr, "%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100., QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); | |
| 526 | 526 | |
| 527 | 527 | timer.start(); |
| 528 | 528 | } |
| ... | ... | @@ -541,7 +541,7 @@ class ProgressCounterTransform : public TimeVaryingTransform |
| 541 | 541 | { |
| 542 | 542 | (void) data; |
| 543 | 543 | float p = br_progress(); |
| 544 | - qDebug("%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g \r", p, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(0).toStdString().c_str(), Globals->currentStep); | |
| 544 | + qDebug("%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100., QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(0).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); | |
| 545 | 545 | } |
| 546 | 546 | |
| 547 | 547 | void init() | ... | ... |