| 183 | } |
| 184 | |
| 185 | static uint64_t progress_getnanotime(struct progress *progress) |
| 186 | { |
| 187 | if (progress_testing) |
| 188 | return progress->start_ns + progress_test_ns; |
| 189 | else |
| 190 | return getnanotime(); |
| 191 | } |
| 192 | |
| 193 | void display_throughput(struct progress *progress, uint64_t total) |
| 194 | { |
no test coverage detected