diff --git a/tools/jfjoch_process.cpp b/tools/jfjoch_process.cpp index 6d86ac3f..540c95c8 100644 --- a/tools/jfjoch_process.cpp +++ b/tools/jfjoch_process.cpp @@ -445,8 +445,22 @@ int main(int argc, char **argv) { } // Progress log - if (current_idx_offset > 0 && current_idx_offset % 100 == 0) - logger.Info("Processed {} / {} images", current_idx_offset, images_to_process); + if (current_idx_offset > 0 && current_idx_offset % 100 == 0) { + std::optional indexing_rate; + { + std::lock_guard lock(plots_mutex); + indexing_rate = plots.GetIndexingRate(); + } + + if (indexing_rate.has_value()) { + logger.Info("Processed {} / {} images (indexing rate {:.1f}%)", + current_idx_offset, images_to_process, + indexing_rate.value() * 100.0f); + } else { + logger.Info("Processed {} / {} images (indexing rate N/A)", + current_idx_offset, images_to_process); + } + } } // Finalize per-thread indexing (if any per-thread aggregation is needed, though pool handles most)