| 82 | } |
| 83 | |
| 84 | void CountingBlockOutputStream::writeSuffix() |
| 85 | { |
| 86 | stopwatch.start(); |
| 87 | |
| 88 | stream->writeSuffix(); |
| 89 | |
| 90 | Progress local_progress(0, 0, 0, stopwatch.elapsedMilliseconds()); |
| 91 | progress.incrementPiecewiseAtomically(local_progress); |
| 92 | |
| 93 | /// Update the write duration to progress |
| 94 | if (process_elem) |
| 95 | process_elem->updateProgressOut(local_progress); |
| 96 | |
| 97 | if (progress_callback) |
| 98 | progress_callback(local_progress); |
| 99 | } |
| 100 | |
| 101 | |
| 102 | } |
nothing calls this directly
no test coverage detected