| 80 | } |
| 81 | |
| 82 | void memtest_progress_step(size_t curr, size_t size, char c) { |
| 83 | size_t chars = ((unsigned long long)curr*progress_full)/size, j; |
| 84 | |
| 85 | for (j = 0; j < chars-progress_printed; j++) printf("%c",c); |
| 86 | progress_printed = chars; |
| 87 | fflush(stdout); |
| 88 | } |
| 89 | |
| 90 | /* Test that addressing is fine. Every location is populated with its own |
| 91 | * address, and finally verified. This test is very fast but may detect |
no test coverage detected