| 216 | } |
| 217 | |
| 218 | int memtest_compare_times(unsigned long *m, size_t bytes, int pass, int times, |
| 219 | int interactive) |
| 220 | { |
| 221 | int j; |
| 222 | int errors = 0; |
| 223 | |
| 224 | for (j = 0; j < times; j++) { |
| 225 | if (interactive) memtest_progress_start("Compare",pass); |
| 226 | errors += memtest_compare(m,bytes,interactive); |
| 227 | if (interactive) memtest_progress_end(); |
| 228 | } |
| 229 | return errors; |
| 230 | } |
| 231 | |
| 232 | /* Test the specified memory. The number of bytes must be multiple of 4096. |
| 233 | * If interactive is true the program exists with an error and prints |
no test coverage detected